Submitting a content from your blog to Digg.com brings more exposure and traffic to your blog. This post explains how to add a Digg button to your Blogger blog easily.
Please Note: Before Editing your Template, Save a copy of your current template by clicking ‘Download Full Template’ in ‘Edit HTML’ page of the Blogger ‘Layout’ Window and ‘Preview’ the changes before Saving.
- Go to Blogger Layout page – Edit HTML – and click Expand Widget Templates.

- Now Search (Ctrl+F) for:
</head>
and REPLACE the above line with the following code:
<!–DIGG BUTTON SCRIPT START–>
<script type=’text/javascript’>
(function() {
var s = document.createElement('SCRIPT'), s1 = document.getElementsByTagName('SCRIPT')[0];
s.type = 'text/javascript';
s.async = true;
s.src = 'http://widgets.digg.com/buttons.js';
s1.parentNode.insertBefore(s, s1);
})();
</script>
<!–DIGG BUTTON SCRIPT END–>
</head>
- Now again Search (Ctrl+F) for:
<data:post.body/>
and REPLACE the above line with the following code:
<a class=’DiggThisButton DiggCompact’/>
<div style=’clear: both;’/>
<data:post.body/>
(This is the code for Compact button. Refer below for more buttons)
 (Medium) |
 (Compact) |
 (Icon) |
<a class=”DiggThisButton DiggMedium“></a> <a class=”DiggThisButton DiggCompact“></a> <a class=”DiggThisButton DiggIcon“></a> |
- Now Save your template to see a digg button appearing below the post titles!
Hope it worked fine! Enjoy Digging! 
You May Also Like:

Article by
Shafar.
About the Author: Tech Freak, Android Lover, Wordpress Addict, Social Media Junkie and the Founder of TipsBlogger.
To submit guest posts to TipsBlogger, please read the Guidelines.
Leave a Reply
thanks its really helpful for my blog
http://whatwhyhow-cihu.blogspot.com/
thank you very much for information. it help me to add button in my website