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 |
Leave a 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:
- Save your blog space, make all your XML/RSS Buttons to one What if you can consolidates all the messy RSS buttons to one? Instead of putting all those messy buttons on the side or in the post section, FeedButton consolidates them all into one easy to use button. This allows you to offer your readers a choice without sacrificing your valuable......
- 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......
- 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: Add "Print Button" in WordPress and Blogger post Now you can install print button in your blog like those in popular websites. Print button is a button to help readers to print articles with just a click. To install just follow in the instructions below. Just follow the steps below on How to: Add "Print Button" in WordPress......
- How to: Protect your email from Spam Bots in Blogs, Social Sites, Forums and Websites A spambot is a web crawler program designed to crawl and search for a website and collect the email address written(in text format) there. They take your email addresses written on websites and send you unsolicited emails(like phishing or spam). Many are trying other ways to fool the bots by......
- 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......
- 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......
- Add a Social Bookmarking Buttons To Your Blogger Post Have you ever wondered how to increase your blog traffic and page rank? Whether by submitting your blog to search engines, post comments on DoFollow blogs or share your own articles with Digg button installed on your blog is still not enough. You are doing the job yourself, why not......
- How to: Change/Hide Your IP Address IP address is an identifier for a computer or device on a TCP/IP network. Networks using the TCP/IP protocol route messages based on the IP address of the destination. Learn how to change or hide your IP address for bypassing websites or proxies that may have your IP address blocked......
Related Websites:
- Save Time, Money and Space in Over 80 Ways If you're looking for handy gadgets, tools and various items that can save you time, money or space (or all three!) this list of more than 80 top products is just what you need. Everyone's got saving money on their minds these days. Some of us are always looking to......
- 7 Social Media Traffic Tips 7 Social Media Traffic Tips By David Hale Social media networking today is the great equalizer that allows small businesses to battle it out with the big corporations. Using just a few routine tactics will allow the small business to gain a greater Web presence, build a following, and develop......
- 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......
- Twitter Weekly Updates for 2010-02-07 Hey twitterers haven't been on today but hope everyone is well # Just been adding new photography and art to the site and editing more photos # I am in such a creative mood, got some prints done and they look amazing # I did these photos just last......
- Blog Action Day 2008: Poverty Today is Blog Action Day 2008, and the subject being discussed on blogs all over the world is poverty. From the Blog Action Day website, here is an explanation of what they hope to do: Today thousands of bloggers will unite to discuss a single issue - poverty. We......
- WordPress.com - Step-by-Step Tutorial Chris Abraham walks you through how to join the fastest-growing and most elegant free blogging services, WordPress.com. Go from the simple acts of joining all the way through set up and administration. Become a blogger in fewer than 45-minutes. Most folks only need the first 15 minutes to get......
- Keyword Selection and Website Optimization Choosing the right keywords for a website is an important and informative research task. In the process of improving your website you’ll learn a lot about your industry and your competitors.Keywords are one the main factors that come into play in the algorithms used by major search engines like......
- Creating and Hosting Blog Carnivals When it is done properly, creating and organizing your own Blog Carnival is a practice that can be truly rewarding. This is especially true if you are trying to increase your blogging experience, and by proxy, your traffic. The Blog Carnival is one of the finest innovations in the blogosphere......
- Twitter Weekly Updates for 2010-01-03 KJ Takes A Blog: Newbie Must Know: Internet Marketing Plan # KJ Takes A Blog: What Do You Know About Internet Marketing? # KJ Takes A Blog: Internet Marketing Specialists And Their Main Tasks To Manage # kjwriteleft.com Pope Attacked During Christmas Mass http://is.gd/5CFeZ # kjwriteleft.com Don't Confuse A......
- Increasing Your PageRank A few weeks ago I was pleasantly surprised to learn that my blog had reached a PageRank of 0 in less than 30 days since having created it. I blogged about some of the things I believed that helped contribute to my rapid rise of a PageRank of 3. I'd......