How to add TweetThis or ReTweet in a blog
The common tweethis and retweet buttons that you see in some websites or blogs help publishers to encourage their reader and visitors to spread the news via twitter, and the button can easily be added to blogger/blogspot. Here is how you do it:
Login to your blogger account.
In the dashboad, select Layout and Edit HTML,
Search for this code line in your template (easiest way to find it is through CTRL+F)
<div class='post-header-line-1'/>
immediately after it pase this code:
If you want the small or compact button, then use this code instead:
If you would like the button to be placed underneath each post, then in your blog template, find this code:
<data:post.body/>
and paste the code of your choice beneath it.
For Wordpress users, please follow these instructions here (click) for suitable Plugin.
Code originally generated by TechMeme
If you prefer just a simple TweetThis sentence or button without a counter, then read Antonio's post here (click).
Login to your blogger account.
In the dashboad, select Layout and Edit HTML,
Search for this code line in your template (easiest way to find it is through CTRL+F)
<div class='post-header-line-1'/>
immediately after it pase this code:
<script type="text/javascript">This will generate a button that looks like this:
tweetmeme_url = '<data:post.url/>';
</script>
<script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"></script>
If you want the small or compact button, then use this code instead:
And it will look like this:<script type="text/javascript">
tweetmeme_style = 'compact';
tweetmeme_url = '<data:post.url/>';
</script>
<script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"></script>
If you would like the button to be placed underneath each post, then in your blog template, find this code:
<data:post.body/>
and paste the code of your choice beneath it.
For Wordpress users, please follow these instructions here (click) for suitable Plugin.
Code originally generated by TechMeme
If you prefer just a simple TweetThis sentence or button without a counter, then read Antonio's post here (click).
0 feedback :