How to Add Retweet Button to your Blogger Posts

Since Twitter is getting huge popularity these days, adding a cool Retweet Button to your Blogger weblog posts tin shipping away easily expire you lot approximately decent total of traffic in addition to promote your content/products to large people inward quick time. If you lot convey tons of followers, thus you lot tin shipping away easily milk it.. 😉

So, hither is how to add together a dainty Retweet push clit to your blogspot weblog posts:

There are ii versions of retweet buttons.. i is the default i (looks similar digg button) in addition to the other i is Compact version which tin shipping away tally inward minor space..

Since Twitter is getting huge popularity these days How to Add Retweet Button to your Blogger Posts

The Code for the Default version is :


<script type="text/javascript">

tweetmeme_url = '<data:post.url/>';

</script>

<script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"> </script>

and for Compact version is :


<script type="text/javascript">

tweetmeme_style = "compact";

</script>

<script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"></script>

Here is how to add together them to your blogger post..

If you lot desire it to the left side of weblog post..

Since Twitter is getting huge popularity these days How to Add Retweet Button to your Blogger Posts

Find


<data:post.body/>

And Paste this code BEFORE that line..

<div style="float:left;padding: 6px 10px 6px 0px;">

<script type="text/javascript">

tweetmeme_url = '<data:post.url/>';

</script>

<script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"> </script>

</div>

If you lot desire it to the Right Side of post..

Since Twitter is getting huge popularity these days How to Add Retweet Button to your Blogger Posts

Find


<data:post.body/>

Add this code BEFORE that line..


<div style="float:right;padding: 6px 0px 6px 6px;">

<script type="text/javascript">

tweetmeme_url = '<data:post.url/>';

</script>

<script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"> </script>

</div>

Note: In the to a higher house ii cases, if you lot desire Compact push clit instead of default style, Just unproblematic supersede the default agency code amongst compact i (refer measuring 1)

Finally SAVE THE CHANGES!


Sumber http://www.bloggertricks.com