Add a Tweetmeme retweet button to your WordPress post

[tweetmeme source=LANSystems only_single=false]imagebuttonAdding a Tweetmeme retweet button is a smart idea.  It allows readers to easily retweet your blog post to their Twitter followers.  It is easy to add the button to your WordPress blog using the Shortcode API functions.

The button with 22 tweets / retweet is a static graphic example that shows a button ready to retweet. The button with 2 tweets / tweeted is a static graphic example that has been retweeted from that page.

To use the Tweetmeme retweet button, add the following to your post:

tweetmeme source=Your_Twitter_Account only_single=false

Be sure the statement is between square brackets [ ] so it will be read as a Shortcode.  Also insert the Twitter name that you want the retweet to reference.  It will show as @Your_Twitter_Account after the RT. Some instructions show as “Your_Twitter_Account” or ‘Your_Twitter_Account’ but the single or double quotes are redundant because the function expects a string. If that is confusing, just ignore because it’s not really important to getting your button displayed.

The expression “only_single=false” will make the retweet button show on your main blog page and each individual post.  If you leave this out, the retweet will only show on the individual post page.

You can add this statement on the Visual or HTML page.  Since it is a Shortcode API not HTML code, it will be visible on the Visual page but will not show on your post if the syntex is correct. Correct syntax is always important so make sure to cradle in the square brackets.

If you want to know more about Shortcode API, start with: http://codex.wordpress.org/Shortcode_API.  If you want to know more about functions http://en.wikipedia.org/wiki/Subroutine is a good start.

If you have any questions, I’ll try to answer just leave a comment or email me at mary@lansystems.com.

Tags: ,

One Response to “Add a Tweetmeme retweet button to your WordPress post”

  1. Tweets that mention Add a Tweetmeme retweet button to your Wordpress post « LAN Systems Blog -- Topsy.com Says:

    […] This post was mentioned on Twitter by Mary Hester, Mary Hester. Mary Hester said: RT @LANSystems Add a Tweetmeme retweet button to your WordPress post « LAN Systems Blog http://wp.me/pR0mT-66 […]

Leave a comment