HEELPBOOK - WordPress - Create a Tweetmeme "Retweeet" shortcode ###################################### Tweetmeme is a popular service that allow you to display "Retweet" button on your blog posts. Even if the code is easy to integrate on your single.php file, it can be very cool to create a shortcode that you can insert anywhere in your posts. Paste the following code in your functions.php file in order to create the shortcode: function tweetmeme(){ return '
'; } add_shortcode('tweetme', 'tweetmeme'); Once done, you can display the Tweetmeme "retweet" button anywhere on your posts. In WordPress editor, make sure you are in HTML mode and insert the following: [tweetme] ############ ARTICLE INFO ############# Article Month: July Article Date: 13/07/2012 Permalink: http://heelpbook.altervista.org/2012/wordpress-create-a-tweetmeme-retweeet-shortcode/ Source: http://www.wprecipes.com/wordpress-tip-create-a-tweetmeme-retweeet-shortcode Language: English View more articles on: http://www.heelpbook.net/ Follow us on Facebook: http://it-it.facebook.com/pages/HeelpBook/100790870008832 Follow us on Twitter: https://twitter.com/#!/HeelpBook Follow us on RSS Feed: http://feeds.feedburner.com/Heelpbook Follow us on Delicious: http://delicious.com/heelpbook Linkedin: http://it.linkedin.com/pub/stefano-maggi/27/73a/b20