More traffics with Digg Button on your blog
This is a step-by-step guide to automatically place a real-time Digg count and vote button to every single blog post Digg is a social content website where your readers or you can submit content to. As a blog owner, you may want to make it easy and encourage your readers to submit and digg your articles.
WordPress Installations
Login to your WordPress Dashboard, go to Appearance -> Editor. Open index.php.
If you want your Digg button after your blog post title, search for <?php the_title(); ?>.
Copy and Paste the code below after <?php the_title(); ?>.
<script type='text/javascript'>
digg_url="<?php echo get_permalink() ?>&title=<?php the_title(); ?>";
</script><script src='http://digg.com/tools/diggthis.js' type='text/javascript'/>
If you want your Digg button after your blog post, search for <?php the_content(__(‘Read more’));?>.
Copy and Paste the code below after <?php the_content(__(‘Read more’));?>.
<script type='text/javascript'>
digg_url="<?php echo get_permalink() ?>&title=<?php the_title(); ?>";
</script><script src='http://digg.com/tools/diggthis.js' type='text/javascript'/>
It’s all depend on your WordPress template, play around with your template index.php and see where is the best place to add your Digg button. Go here to learn to add HTML <div> tag around your Digg code.
Blogger Installations
Your blog should be set to Enable Post Pages, login to your Blogger Dashboard. Under Settings-> Archiving, set the “Enable Post Pages?” to “Yes” and save the settings.
Next Under “Layout”, click the “Edit HTML” tab and tick Expand Widget Templates.
If you want your Digg button after your blog post title, search for <p><data:post.body/></p>.
Copy and Paste the code below after <p><data:post.body/></p>.
<script type='text/javascript'>
digg_url="<data:post.url/>";
</script><script src='http://digg.com/tools/diggthis.js' type='text/javascript'/>
If you want your Digg button after your blog post, search for <div style=’clear: both;’/>.
Copy and Paste the code below after <div style=’clear: both;’/>.
<script type='text/javascript'>
digg_url="<data:post.url/>";
</script><script src='http://digg.com/tools/diggthis.js' type='text/javascript'/>
It’s all depend on your Blogger template, play around with your template and see where is the best place to add your Digg button. Go here to learn to add HTML <div> tag around your Digg code.
More specific Digg button code for you
<script type="text/javascript">
digg_url = 'WEBSITE_URL';
digg_title = 'TITLE';
digg_bodytext = 'BODY';
digg_media = 'MEDIA';
digg_topic = 'TOPIC';
</script>
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
Simply replace those variable contents with the appropriate text for your content.
digg_media – Your website URL
digg_title – Your blog post title
digg_bodytext – Your blog post body text
digg_bodytext – Should be one of ‘video‘, ‘image‘, or ‘news‘ (The default is ‘news’).
digg_topic – Your blog post topic
It must be one of the following topics:
arts_culture
autos
baseball
basketball
business_finance
celebrity
comedy
comics_animation
design
educational
environment
extreme_sports
food_drink
football
gadgets
gaming_news
general_sciences
golf
hardware
health
hockey
linux_unix
microsoft
mods
motorsport
movies
music
nintendo
odd_stuff
olympics
other_sports
pc_games
people
pets_animals
playable_web_games
playstation
political_opinion
politics
programming
security
soccer
software
space
tech_news
television
tennis
travel_places
world_news
xbox
More Digg Buttons for you

<a href="http://digg.com/">
<img src="http://digg.com/img/badges/16x16-digg-guy.gif" width="16" height="16" alt="Digg!" />
</a>

<a href="http://digg.com/">
<img src="http://digg.com/img/badges/100x20-digg-button.gif" width="100" height="20" alt="Digg!" />
</a>

<a href="http://digg.com/">
<img src="http://digg.com/img/badges/32x32-digg-guy.gif" width="32" height="32" alt="Digg!" />
</a>
Enjoyed your new button?, don’t forget to Subscribe to The-Online-Quest via RSS or you can receive daily updates via Email.
Tags: Blogger, blogspot, Guides, internet tips, Tips and Tricks, tweak, WordPress | Categories: Blogger, Guides, How to, Images, Tips and Tricks, WordPress
| Written by:
DJYaNo |
1 Comment
Hello there! If you are new here, you might want to subscribe to the
RSS Feed or by
Email for updates on this topic. You can also follow me on
Twitter.
Related Posts:
- 43 Awesome Free RSS Icons for Your Blog RSS is a family of Web feed formats used to publish frequently updated works such as blog entries, news headlines, audio, and video in a standardized format. Enough with the boring and same old RSS icons in your blog. Here is a large list of sites which offer Free RSS......
- How to: Download and play your favorite Flash Games Right in your Desktop After i have wrote about 4 Flash Games sites to cure your Boredom. You are sure to find your favorite games. You love playing your new Flash Games online. What if you want to play those games offline, without ever going back to the site? Don't worry, i will show......
- Read And View PDF Within Internet Explorer and Firefox Yes the title says it right, all you need is to follow some instructions below to get it done. You may have Adobe Reader installed on your computer and you use that to read e-books. Well if you just want to read, view e-books and not more than that. You......
- 11 Useful Blogger and WordPress Tweaks, Tips, Tricks and Tools To Improve your Reader Experience Listed below are "11 Useful Blogger and WordPress Tweaks and Tools To Improve your Reader Experience". It will help in enhancing your visitors or readers experience. 80% of these list will make your visitors or readers come back for more. Try it to believe it. "11 Useful Blogger and WordPress......
- Cool Web Services, Apps, Tips and Tricks (Episode #6) All listed websites below that i found are FREE(no buys no trials, only some need to register and create your own account to use their services). Check out some of the Cool Web Services, Apps and Tricks and latest discoveries done by me. 1. http://www.keepvid.com - Another Youtube downloader. Allows......
- Communicate Better, Add A Skype "Call Me" Buttons To Your Site Skype buttons can be use on your website, blog or even in your email signature to let other people contact you easily. With Skype you can say hello or share a laugh with anyone, anywhere. And if both of you are on Skype, it’s free. Intructions Step 1: Login to......
- How to: Convert and Burn Any Video Format to DVD - A Complete Guide If you ever wondered to convert your movie collections to a crystal clear DVD format, with high quality audio and video? Then this guide is for you and you can do these like professional movie maker! DVD a.k.a Digital Versatile Disc enables you to store data or movies with high......
- Ultimate 200 + Twitter Tools to make your Tweets Easier! Twitter is a free social networking and micro-blogging service, that allows its users to send and read other users' updates (otherwise known as tweets), so with 200 + Twitter Tools listed below, you will sure to find something useful. Check out the Ultimate 200 + Twitter Tools to make your......
- How To Run And Play Classic DOS Games On Your Computer It's been a long time since I posted something on my blog. I've been very busy with my projects and other jobs at home. Since this is my first post of 2010, I wish my loyal readers a Happy Year New Year!. Well enough said, let's get started. How To......
- You Comment I Follow Badges for Blogger/WordPress Blogs These are some "You Comment I Follow Badges" i have found on the net(images will be credited to the owner). You can use these badges on your blogs like Blogger or WordPress. Simply copy the codes given and paste it in your blogs. Link back to my blog is optional.......
Related Websites:
- Random Blog + Zen toon Okay, I have been getting replies to posts here. Mostly congratulating me on site content and design, sometimes critical of the design. I am aware the current blog theme doesn't hold together all that well when not in its frame (http://kitschchaos.com/blog.html). At some point I'm either going to hack this......
- Wordpress Plugins Maybe you always wanted a feature that hasn't been available in the latest release of Wordpress. What you can do is either install a 3rd party plugin or write your own custom code to extend the features of Wordpress. Wordpress plugins are programming code that enhance the features of......
- Permalinks are more important than you think! Picture this. You're at a casual dinner party and you have a friendly discussion on healthy activities. The next day, your friend sends you a link to your work email address that says "Read this!". You click it and it brings you to an article that discusses an activity that......
- Advantages of Using Wordpress to Publish a Newspaper Blog If you want to have a blog or website that's in newspaper format, Wordpress is the ideal medium. There are many other services you could use, but because Wordpress is so user friendly it's easy to set up your blog to look like a newspaper (or a website, or whatever......
- Installing a WordPress Blog If you want to install WordPress on your own server, the first step is to download the necessary files from the website at WordPress.org download. Next, you will use an FTP program to upload the files to your host site. If you use Cpanel, you can use Fantastico in order......
- Money Walks Lists RateLadder.com as an Interesting Prosper.com Blog I was looking into my Google Analytics statistics from 1/9/2007. (I made it to the 3rd page of Reddit and stayed most of the day with my story Using Prosper.com for Your Emergency Fund - 312% improvement over CD Ladder). 90+% of my traffic came as a reddit referral. I......
- Whoa! What happened? John got himself a blog -- that's what happened. We'll see where this goes. In the meantime, I hope that you get something out of the posts to the MightyBargainHunter.com blog! Some of them will be site updates. Some of them will be neat links I've run across. Some of......
- Weight Loss Quotes Weight loss occurs in the mind before it occurs in the body. You must change the way you think in order for your actions to follow. One method I use to purify and focus my thoughts is reading motivational quotes. To read some of my favorite weight loss quotes, go......
- Simple, but proven Web 2.0 strategies for your Home Internet Based Business Opportunity Using social media or Web 2.0 platforms is great way to direct visitors to your website and grow your free online business. These sites are very popular and allow you to touch a massive number of people in a very short amount of time. Social media is a very cost-efficient......
- Tweets & Twitterings Now it's off to watch some silly zombie movie with my wonderful wife! # Blog RSS Feed Reader is now powered by Bloggeries Tags: tweets Related.. http://tinyurl.com/4vl5mt # is reading a new email from Jeff Walkerl Tags: tweets Related posts No.. http://tinyurl.com/6m7zwr # decided I like Dan Zarella and…:......
Hi! I was surfing and found your blog post… nice! I love your blog.
Cheers! Justin..