
To add this widget to your blog, follow these instructions:
Step 1:
Log in to Blogger, go to Layout -> Edit HTML and mark the "Expand Widget Templates" checkbox.
Step 2:
Now find (CTRL+F) this in the code:
<data:post.body/>
Case 1:
Screenshot:
To place the digg button at the top right corner of your post paste this code before/above it :
<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>
Case 2:Screenshot:
To place the digg button at the top left corner of your post paste this code before/above it :
<div style='float:left; margin-right:10px;'>
<script type='text/javascript'>
digg_url="<data:post.url/>";
</script>
<script src='http://digg.com/tools/diggthis.js' type='text/javascript'/>
</div>
Case 3:Screenshot:
To place the digg button at the end of your post paste this code below/after it :
<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>
Case 4:Digg has another compact button.
Screenshot:
To get this paste this code before/above it :
<div style='float:right; margin-left:10px;'>
<script type='text/javascript'>
digg_url="<data:post.url/>";
digg_skin="compact";
</script>
<script src='http://digg.com/tools/diggthis.js' type='text/javascript'/>
</div>
NOTE:This will put a Digg button to every post. You are therefore not able to choose which post you want to include or exclude a button.
Check For More Social Share Buttons "How to add Linkedin Share, Yahoo Buzz, Reddit, Facebook Like, Delicious, Google Buzz, Stumbleupon, Tweet, Retweet and Facebook Share buttons in blogger."
Comments
Post a Comment