• 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

8 Fail Safe Tips On Creating An Awesome 404 Page

Oh the 404! Such a wonderful error to come across while browsing the web. Some are funny while others are ...

12 Essential Tips to Build Your First Wordpress Theme

I always wanted to contribute to the wordpress community by building a Wordpress theme and releasing it to public. After efforts of 20 days ...

SEO Your Wordpress Templates

Like many people, when I first started blogging, I discovered Wordpress and it’s many features that made it easy to set up and get ...

Facebook Connect Wordpress Plugin Leaked

A few sources have alerted me to a project that Facebook has been working on: integrating Facebook Connect directly with ...

Why is SEO so important to your site

You have heard the phrase LOCATION LOCATION LOCATION. But wait, this is online! You don’t have to worry about location… or do ...

Be the first ... |Add your comment.

Your Comment ...

  Name (required)

  Email (required, hidden)

  Website


Top Stuff

Free Blogger templates Anime Themes

GeekLog

Wordpress Guestbook Generator Plugin

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

  • Blogging Tips (50)
  • Blogs Slides (25)
  • Blogs Websites (22)
  • Digg (6)
  • How to Blog (41)
  • Search Engines (2)
  • SEO (27)
  • WordPress Plugins (61)
  • WordPress Security (18)
  • Wordpress Themes (22)
  • Wordpress Tips (26)

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