How to add Twitter (Retweet) Button to Every Blogger Posts
There a lots of ways and platforms to promote your blog in order to get traffic. But the first blog promotion starts from your blog posts itself. You should design your posts with all necessary blogger social bookmarking icons, so that people can spread it’s reach using different web services. There are different buttons that you can use on your blogger posts like Digg, Yahoo! Buzz, StumbleUpon, Mixx, Twitter etc. Here I’m going to show you the tutorial to add a Twitter or Retweet button to your blogger blog posts. Yes, you can use Twitter to promote your blog and you will not only get some followers to your Twitter account but will also get decent traffic to your blog.
If someone likes your post, he can click on the Retweet button to post the topic with it’s URL in his twitter account and all his followers would get notified about this. This is the simple yet effective way to promote your blog posts on twitter. There are two types of Retweet buttons available to insert in your blogger posts. One is the most common sized and another one is the small sized. Look at the below screenshot.
How to Add Twitter (Retweet) Button to Blogger Posts
Login to your blogger dashboard.
Navigate to Layout >> Edit HTML >> Expand Widget Templates
Search for <data:post.body/> and paste the following codes just before or after it. Adding the code before <data:post.body/> will show the Retweet button on the top of your post while adding after <data:post.body/> will show the Rettweet button on the bottom of your post.
For Digg like Button, use the following code.

<script type="text/javascript">
tweetmeme_url = '<data:post.url/>';
</script>Retweet this button on every post blogger
<script src="http://tweetmeme.com/i/scripts/button.js" type="text/javascript">
</script>
For Compact sized button, use these codes.
![]()
<script type="text/javascript">
tweetmeme_style = "compact";
</script>
<script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"></script>
Now if you want align it to the right, use the above code in the following way.
<div style='float:right; margin-left:10px;'>
>>>>Retweet Button Code Here<<<<
</div>
Similarly if you want to align it to the left, use the above codes in this way.
<div style='float:right; margin-left:10px;'>
>>>>Retweet Button Code Here<<<<
</div>
You are done now. Now all your blogger posts will have a Twitter button or Retweet button. If you face any problems, use the below comments section to seek help.
|
Important Recommendation: Run a Free Scan for Windows Errors Installing or uninstalling software can leave your registry fragmented with corrupted or harmful files. Check your registry with RegistryBooster |



















Thanks dear, you explain at easy way
I put up the retweet button at the end of my posts ( http://joblounge.blogspot.com ). Is there a way to get the button to be flush left after each post, instead of immediately after the last word in the post?
BTW, thank you for the instructions. I retweeted them.
@ Susan : Such a lovely blog there. Impressive
You can add a < br / > (without space) tag before the twitter code. Adding a line break will force the button to create a new line and get aligned to left. However, if you want to get the most out of this button, try showing it on the top of the post.
That worked. Thank you.
It seems the retweet goes to the tweetmeme site, not to a person’s followers. Is that right?
Again, thank you!
Thanks a lot working good in my blog
Thanks for making it in simple code
It works great!! I was actually looking for this for some time now.
Thanks!
Great work …. i was always using the the ending up with twitter widget on my blog which looked very erroneous..but now i am on 9th cloud
Great post. Very helpful.
How do you add “RT @username”?
I have 3 in my template. Should I add the code in front of each or just the first one?
Thanks again.
@ Osman : If you are talking about <data:post.body/> code, then just check your template again. All templates have this code only once.
Many thanks!
Thank you. I’d been trying to do that all night, then found your clear instructions!
Did not work well at all. The functionality was there but it counts all the “retweets” and gives the same number for every post. Not at all how it’s suppose to work.
This is a great site. Thanks for the information on how to add retweet this button to blogger.
@ Sozo : Follow all the steps carefully and it should work normally.
cool~nice share!!
It Isnt working friend.
Tried Many times =(
Thanks very much, I like the compact style
Hi! I wanted to put retweet button on left side on my blog but… I have a problem coz I see that your left and right code look the same. Could you help me with this?
Maybe would be better if you could email me.
You explained it quickly and it is very easy to apply. Good job!
Thanks I was searching for it and find it on your site thanks again.
thanks a lot your blog has done so much for my blogspot.
i don’t know how to pay you but to say a BIG THANK YOU.
keep the good work.
my blog is all about online marketing and free ways to make money online
good post but i thought you have to post your tweet on your twitter account.
It works like a charm… thanks…
the brief explanation was just great. i successfully installed it on my blog. thanks.
Great trick .. I added it to my blogger
wen i installed d code the retweet buttons comes inside the post