How To Add ‘TwitThis’ Button to Below your Each Blogger Post

Posted by Lasantha Bandara on June 30th, 2009 File Under : gadget, post, widget0 Comment

1.Log in to your dashboard--> layout- -> Edit HTML

2.Click on "Expand Widget Templates"

3.Scroll down to where you see this:

<p><data:post.body/></p>

4.Now copy below code and convert it using ad parser.

<!-- Begin TwitThis (http://twitthis.com/) -->
<script type="text/javascript" src="http://ajax.twitthis.com/chuug.twitthis.scripts/twitthis.js"></script>
<script type="text/javascript">
<!--
document.write('<a href="javascript:;" onclick="TwitThis.pop();"><img src="http://ajax.twitthis.com/chuug.twitthis.resources/twitthis_grey_72x22.gif" alt="TwitThis" style="border:none;" /></a>');
//-->
</script>
<!-- /End -->

Your parsed code will look like this.

5.Now copy your parsed code just after <p><data:post.body/></p> tag.

6.Now save your template and you are done.Look at the picture below.

File Under : gadget, post, widget

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.