Retweet button for your WordPress.com blog

Posted in Tips by Sumit Thomas on December 17, 2009

[tweetmeme style=”compact”]Wordpress.com blogs does not allow you to add plugins so here is a simple way to add Retweet buttons to your blog posts.

<a href="http://api.tweetmeme.com/share?url=[Your Blog post's URL]&service=[URL Shortening service]"><img align="left" style="border-style:none;" src="http://api.tweetmeme.com/imagebutton.gif?url=[Your Blog post's URL]&service=[URL Shortening service]" alt="" width="51" height="61" /></a>

You will get a nice button like this Retweet

align=”left” will left align the button in your paragraph.

style=”border-style:none;” removes the border around the retweet button that may be applied in some WordPress.com blog themes.

service=[URL Shortening service] is optional but I would recommend it. URL Shortening service will generate a shorter url that fits well in the twitter textbox. You can use URL Shorteners such as bit.ly, tinyurl.com etc.


There is a better way!