How to add retweet button inside the blogger post

Why retweet?

You may ask why i should add retweet button inside my post. It is one of the ways to get some good traffic to your blog. Whenever a visitor visit your blog and finds your post interesting then he will definitely retweet so that his followers can see it and retweet if they find it useful.As far as i know most of the people in this world use twitter than other social networking sites . There is 99% chance of getting decent traffic to your post if you add a retweet button

What do you need ?

  • A blog
  • Twitter account

How to add retweet button ?

  • Login in to your Dashboard > Select blog
  • Go to Layout > Edit HTML
  • Now copy the below code and paste it above or below <data:post.body/>. Dont forget replace ID with your twitter id

<script type='text/javascript'>
tweetmeme_url = &#39;<data:post.url/>&#39;;
tweetmeme_source = &#39;ID&#39;;
</script>
<script src='http://tweetmeme.com/i/scripts/button.js' type='text/javascript'/>

1.If u want to place the retweet at the top left or top right then paste the code above <data:post.body>

a) Top right
<div id='retweet' style='float:right;padding:4px;'>
<script type='text/javascript'>
tweetmeme_url = &#39;<data:post.url/>&#39;;
tweetmeme_source = &#39;ID&#39;;
</script>
<script src='http://tweetmeme.com/i/scripts/button.js' type='text/javascript'/>
</div>

b) Top Left
<div id='retweet' style='float:left;padding:4px;'>
<script type='text/javascript'>
tweetmeme_url = &#39;<data:post.url/>&#39;;
tweetmeme_source = &#39;ID&#39;;
</script>
<script src='http://tweetmeme.com/i/scripts/button.js' type='text/javascript'/>
</div>

2.If u want to place the retweet at the bottom left or bottom right then paste the code below <data:post.body/>

a) Bottom Left
<div id='retweet' style='float:left;padding:4px;'>
<script type='text/javascript'>
tweetmeme_url = &#39;<data:post.url/>&#39;;
tweetmeme_source = &#39;ID&#39;;
</script>
<script src='http://tweetmeme.com/i/scripts/button.js' type='text/javascript'/>
</div>

b) Bottom Right
<div id='retweet' style='float:right;padding:4px;'>
<script type='text/javascript'>
tweetmeme_url = &#39;<data:post.url/>&#39;;
tweetmeme_source = &#39;ID&#39;;
</script>
<script src='http://tweetmeme.com/i/scripts/button.js' type='text/javascript'/>
</div>

Feel free to contact me if you want any help regarding the placement of the button in your blog

Share on Facebook



Comments (3)

  1. orkutplaza.com November 1, 2009
  2. Tomaz December 27, 2009
  3. Kannan December 28, 2009

Leave a Reply