Stop PC Crashes with WinZip System Utilities

Enter your email address:

Showing posts with label ADD DIGG THIS SHARE COUNT BUTTON. Show all posts
Showing posts with label ADD DIGG THIS SHARE COUNT BUTTON. Show all posts

Thursday, July 22, 2010

ADD DIGG THIS SHARE COUNT BUTTON IN YOUR BLOG POSTS

As you know Digg is one of the major content sharing website in internet.  After our Facebook Share count button, we would like to present the code of  Digg this share count buttons for a blog post. Digg This button is of three types, Compact, Medium and Large. We recommend our readers to add the Medium button as we did in our blog. You may select the one button of your choice as described below. If you love this post, please don’t forget to Digg This.. Happy Digging…

How to add Digg This share count buttons to your blog

STEP A
Log in to Blogger Account, go to Layout -> Edit HTML and check the box "Expand Widget Templates". Now, find any of this code in your  template. (Please make a backup copy of your template before doing any sort of editing)

<div class='post-header-line-1'/>

OR

<div class='post-header-line'/>

 

STEP B
Then immediately after the above given code, paste the code given below. You may select any one of the three Digg This count button, copy and paste the code given there.

Compact Digg This Button

 DIGG THIS COMPACT BUTTON

<!--DIGGTHISBUTTONCOUNTER-CODESTARTS-http://businessvartha.blogspot.com--><div style='float:right;padding:4px;margin-top:-4px;'><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><a class="DiggThisButton DiggCompact"></a></div><!--DIGGTHISBUTTONCOUNTER-CODESTOPS-->

 

Medium Digg This Button

 DIGG THIS MEDIUM BUTTON

<!--DIGGTHISBUTTONCOUNTER-CODESTARTS-http://businessvartha.blogspot.com--><div style='float:right;padding:4px;margin-top:-4px;'><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><a class="DiggThisButton DiggMedium"></a></div><!--DIGGTHISBUTTONCOUNTER-CODESTOPS-->

 

Large Digg This Button

 DIGG THIS LARGE BUTTON

<!--DIGGTHISBUTTONCOUNTER-CODESTARTS-http://businessvartha.blogspot.com--><div style='float:right;padding:4px;margin-top:-4px;'><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><a class="DiggThisButton DiggLarge"></a></div><!--DIGGTHISBUTTONCOUNTER-CODESTOPS-->

Something to remember:

  • You may change the position of this button by changing the right to left or center.

Check the preview of your blog, when you finish the pasting of the code. In the preview you can see whether the position of the Counter button is correct or not. Any problems? feel free to ask me..

More Buttons to Add:

Blog Widget by LinkWithin