Posted By

gd6d on 12/13/09


Tagged

wordpress twitter


Versions (?)

How to Create a Tweetmeme “Retweeet” Shortcode


 / Published in: PHP
 

URL: http://www.wprecipes.com/wordpress-tip-create-a-tweetmeme-retweeet-shortcode

  1. Just paste the function below into your functions.php file.
  2.  
  3. function tweetmeme(){
  4. return '<div class="tweetmeme"><script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"></script></div>';
  5. }
  6. add_shortcode('tweet', 'tweetmeme');

Report this snippet  

You need to login to post a comment.