How To Add Digg Button to Every Blogger(Blogspot) Posts

Posted by Lasantha Bandara File Under : bookmarks, button 1 Comment


1. login to your Blogger Dashboard. Go Settings-> Archiving, set the “Enable Post Pages” to “Yes” and save the settings.

2.Now go to Blogger Dashboard->Layout->Edit HTML

3.Check the box “Expand Widget Templates".Now search the follow code.

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

If you want the button to show at the top right corner of your post, replace the above code with this.

<div style='float:right; margin-left:10px;'> <script type='text/javascript'> digg_url=&quot;<data:post.url/>&quot;; </script> <script src='http://digg.com/tools/diggthis.js' type='text/javascript'/> </div> <p><data:post.body/></p>

If you want the button to show at the end of your post, replace the above code with this.

<p><data:post.body/></p>
<div style='float:right; margin-left:10px;'> <script type='text/javascript'> digg_url=&quot;<data:post.url/>&quot;; </script> <script src='http://digg.com/tools/diggthis.js' type='text/javascript'/> </div>

If you want the button to show at top left corner of your post, replace the above code with this.

<div style='float:left; margin-right:10px;'> <script type='text/javascript'> digg_url=&quot;<data:post.url/>&quot;; </script> <script src='http://digg.com/tools/diggthis.js' type='text/javascript'/> </div>
<p><data:post.body/></p>

1 thought on “How To Add Digg Button to Every Blogger(Blogspot) Posts

Leave a Reply

Your email address will not be published. Required fields are marked *

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