Digg Button for WordPress

I was searching the web for digg wordpress plugin which will help me to submit my articles directly from my blog. I found two most used plugin, but none of them worked for my latest version of WordPress.
Hence, I researched a bit and made my own. Well, This is not a plugin, its just a simple piece of code which has to be implement in your template files.

Initial Release:

  1. Default and Compact Digg Button
  2. Optional float in both side.
  3. Compact and Default Button

Installation:

  1. Download the text files below and copy the code.
  2. Open your single.php (found in your current themes folder)
    Dashboard > Presentation > Theme Editor > Single Post/single.php
  3. Find the piece of code : <div class=”post-content”>
  4. Add the Digg Code after that and save the file.

Hi, I am Abhik and this is my blog ItsAbhik.
I write about Search Engine Optimization (SEO) and Internet Marketing here in this blog and provide tips on how you can make money online. More about me..

You are welcome to write a Guest Post on this blog and share your stories with us.
Follow me on:  TwitterFacebook and Google+

Subscribe for FREE and EXCLUSIVE Stories

4 Comments

  1. I pasted the code into single.php and the button works great for each post’s individual url. Which page should I copy the text into for the button to show up next to each post on the main page?

  2. For showing the digg button in main page, you should edit the “Main Index Template” (index.php) for your theme.

  3. Perfect code. It worked perfectly in one of my blogs. Thanks a lot buddy.

  4. Hi, Thanks for that handy code. Quite helpful for my blog photoclix.in.

Leave a Reply

Copyright © 2006 - 2012 ItsAbhik Media. All rights reserved.
ItsAbhik Powered By WordPress | CDN by MaxCDN | Hosted by Hostgator