• Home
  • New Entries
  • Popular Entries
  • Submit a Story
  • About

Simple Wordpress Digg Solution ...

I have looked around the interwebs to find the easiest way to add a digg button with the sumbit feature to wordpress,

I have looked around the interwebs to find the easiest way to add a digg button with the sumbit feature to wordpress, but I could only find plugins, or other methods that seemed to complicated.

So here is the most simple solution for adding digg to you blog. The following is code from the digg website;

<script type=”text/javascript”>
digg_url = ‘WEBSITE_URL’;
</script>
<script src=”http://digg.com/tools/diggthis.js” type=”text/javascript”></script>

All you need to do is replace ‘WEBSITE_URL’ with ‘<?php the_permalink() ?>’ and place the code within the LOOP. (I put mine in the Main Index Template after the comments - you can edit this via wordpress in the theme editor.)

To show the Digg button when viewing a single post, you must also add it to the ‘Single Post’ template (also under theme editor). I placed this second set of code after the ‘tags’ and before the ‘postmetadata’.

Its as simple as that. For additional options you can add the following;

digg_bgcolor = ‘#ff9900′; (Background Colour)
digg_skin = ‘compact’; (Smaller Button)
digg_window = ‘new’; (Open in New Window)

source: blogger-off

 View Full Story.
Posted at 10:35:49 am | Permalink | Posted in Digg  

Related Stuff

ColdBlue Blogger Template

For those of you who love the simplicity of our popular ColdBlue Wordpress theme, but use Blogger as your blogging platform…you can ...

Blogging Tips on What You Should Do or Not Do

Are you looking for effective blogging tips? You’ve come to the right place. It’s true that any individual can upload or open a ...

Best practice for adding JavaScript code to WordPress plugins

This article is intended as a guide on how to add JavaScript code to your plugins. Here is a practical example from WP Wall ...

10 Plugins to Test Drive WordPress 2.7 Right Now

WordPress 2.7 is round the corner and if you want to test drive it you can grab a copy of beta versions (please dont use them for ...

Referrer Detector WordPress Plugin

Many bloggers and website owners like to greet visitors coming from specific websites with a tailored message. There are many plugins that ...

1 Comment |Add your comment.

Software Development Company said:

Hi,Good Post.....

Posted at November 24, 2008 09:41:02 am

Your Comment ...

  Name (required)

  Email (required, hidden)

  Website


Top Stuff

Free Blogger templates Anime Themes

Wordpress Guestbook Generator Plugin

GeekLog

Zookoda

Introduction to blogs and blogging

jumpcut


Our Partners

Facebook Applications

Ajax Projects

Web 2.0 Sites

Webloglines

Human Development Handbook

Software Development Company

Ajaxlines

Stock Exchange Chat


About Webloglines

Webloglines is a project offers a comprehensive collection of blogging services, articles, themes and plugins from around the world. Whether you're looking to promote your own blog or find blogs on various topics, this site is for you.


Search


Topics

  • Adsense (10)
  • Blogging Tips (61)
  • Blogs Slides (25)
  • Blogs Websites (22)
  • Digg (8)
  • How to Blog (68)
  • Search Engines (2)
  • SEO (41)
  • WordPress Plugins (95)
  • WordPress Security (28)
  • Wordpress Themes (36)
  • Wordpress Tips (57)

© 2006 www.webloglines.com. All Rights Reserved. Powered by IRange