Add Digg Button near Post Title in Blogger


How to Add Digg Button to Blogger

Submitting a content from your blog to Digg brings more exposure and traffic to your blog. This post explains how to add a Digg button to your Blogger blog easily.

Do the following simple steps:

  1. Go to Blogger Layout page - Edit HTML - and click Expand Widget Templates.
  2. Now Search (Ctrl+F) for <data:post.body/>
  3. Now paste the following code just before <data:post.body/>

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

Note: In the case of blogs with Read More/Expandable Post Summaries, the above code has to be pasted just before the SECOND OCCURRENCE of <data:post.body/>

Now Preview and Save your template. You will see a digg button appearing right your post titles (as shown below).

How to Add Digg Button to Blogger

site visitor