Does your small business need an internet presence?

Posted by on April 23, 2010 with 0 Comments

  • WordPress shortcode: Display a thumbnail of any website
    Published: August 8, 2011
    The first step is to create the shortcode. To do so, simply paste the code below into your functions.php file. function wpr_snap($atts, $content = null) { extract(shortcode_atts(array( snap = http://s.wordpress.com/mshots/v1/, url = http://www.catswhocode.com, alt = My image, w = 400, // width h = 300 // height ), $atts)); $img = img src= . $snap . . urlencode($url) . ?w= . $w . h= . $h . alt= . $alt . /; return $img; } add_shortcode(snap, wpr_snap);...
  • Plugin by C. Murray Consulting

Filed Under: Uncategorized

Respond

Mandatory fields are marked as *

CommentLuv badge