Rob Bennet Interactive

  • Archive
  • RSS
  • Have a Question?
  • Submit
  • 2 weeks ago
  • Permalink
  • Share
    Tweet

http://Black Hole Fires Cosmic Bullets | Wired Science | Wired.com http//bit.ly/znKzVF

  • 2 weeks ago
  • Permalink
  • Share
    Tweet

Neat

  • 1 month ago
  • Permalink
  • Share
    Tweet

http://www.webmonkey.com/2011/12/celebrate-the-holidays-with-advent-calendars-for-web-nerds/

  • 1 month ago
  • Permalink
  • Share
    Tweet

How to Watch the Higgs Boson Announcement Live

How to Watch the Higgs Boson Announcement Live
Tomorrow the European Organization for Nuclear Research, more commonly known as CERN, will reveal something about the Higgs boson. Back-to-back public seminars are scheduled for 2 p.m. Zurich time (8 a.m. Eastern) on Wednesday, Dec. 13, each from one of the main ongoing experiments at the Large H…

Source: Mashable

  • 1 month ago
  • Permalink
  • Share
    Tweet

Change Wordpress Mail Headers

Been using this a lot lately since a bunch of really lame hosting providers won’t allow SMTP relays.  This will change the default WordPress From Name and Email:

function res_fromemail($email) {
    $wpfrom = get_option('admin_email');
    return $wpfrom;
}

function res_fromname($email){
    $wpfrom = get_option('blogname');
    return $wpfrom;
}

add_filter('wp_mail_from', 'res_fromemail');
add_filter('wp_mail_from_name', 'res_fromname');
  • 1 month ago
  • Permalink
  • Share
    Tweet

Scientists May Be Closing in on the Higgs Boson Particle

Scientists May Be Closing in on the Higgs Boson Particle
Particle physics has played out over the last half-century or so like a seasoned crime drama: scientists would use accepted theories and their deductive skills to predict whether a particle should exist, build colossal particle accelerators to find it, then catch it red-handed by smashing atoms t…

Source: Mashable

  • 1 month ago
  • Permalink
  • Share
    Tweet

WordPress - get post thumbnail URL only

I had a need to ONLY return the post thumbnail (featured image) URL without being wrapped in an image tag.  I was going to use it as a bgimage so I could overlay some stuff.  Figured it out by returning it as an object, seems to work pretty well:

$thumbnail = new SimpleXMLElement( get_the_post_thumbnail( $postid ) );
print $thumbnail->attributes()->src;
  • 2 months ago
  • Permalink
  • Share
    Tweet

Looking for a viable typekit alternative that’s not google web fonts…love the goog service, just need something more robust…not a fan of how typekit loads

  • 3 months ago
  • Permalink
  • Share
    Tweet

Awesome SSH tricks

  • 4 months ago
  • Permalink
  • Share
    Tweet
← Newer • Older →
Page 1 of 27

About

@rwbennet
  • RSS
  • Random
  • Archive
  • Have a Question?
  • Submit
  • Mobile

Effector Theme by Carlo Franco.

Powered by Tumblr