wordpress snippets last updated   : July 14, 2014
we now have 634 snippets

Add Tweetmeme button to your post with shortcode

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will let you add the Tweetmeme button to any location within your post.

snippet :  PHPcopy
function tweetmeme(){
  return '<div class="tweetmeme"><script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"></script></div>';
add_shortcode('tweetmeme', 'tweetmeme');
snippet :  SHORTCODEcopy

jqsnipp.com | we just launched jquery snippets website