Creating a Digg This Button for Your WordPress Blog
Creating a Digg This button is very easy. Here's a non-plugin approach:
<script type="text/javascript"> digg_url = '<?php the_permalink() ?>'; digg_title = '<?php the_title() ?>'; </script> <script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
Copy and paste above script to anywhere between your WordPress' theloop:
Instead post specific Digg button, you can create a site wide button as well:
<script type="text/javascript">
digg_url = '<?php bloginfo('url'); ?>';
digg_title = '<?php bloginfo('name'); ?>';
</script>
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
Useful Links
http://digg.com/tools/integrate
http://wordpress.org/download/
More interesting posts ...
Comments
6 Comments so far
Leave a Comment
If you would like to make a comment, please fill out the form below.
Attention
If you want to post source code, please wrap it with <pre> and </pre>
If you want to post source code, please wrap it with <pre> and </pre>


Thanks for the quick tip. Anything to help visitors Digg blog posts helps big time. I've had blogs get indexed in a few hours using Digg, so Google really looks on that site as having some serious authority. I need to get this button onto some blogs!
Nice post, but what if I wanted to put this into a Featured Post plugin? I tried, but I'm not great with php. Any help would be appreciated.
Around the: Gambling, The legal gambling age, Roulette online gambling, Online gambling history http://gambling.goodnano-av.com/
[...] You have a few options when it comes to how to insert a Digg Button on your site. You can use the Digg Digg WordPress Plugin, the Digg It WordPress Plugin, or by bypassing the plugin path all together and coding it yourself. (A good writeup on how to do that can be found here at The Code Central.) [...]
[b][size=6]Duloxetine capsule[/size]
[size=5]What is this medicine?[/size][/b]
DULOXETINE is an antidepressant. It is in use accustomed to to touch on depression. It is also used to treat discomposure caused on complications of diabetes or ache caused next to fibromyalgia.
What should I announce my strength mind a look after provider beforehand I obtain this medicine?
[u]They basic to discern if you entertain any of these conditions:[/u]
* bipolar disorder or a progeny story of bipolar mix up
* kidney or liver murrain
* narrow- viewpoint glaucoma
* suicidal thoughts or a before-mentioned suicide attempt
* entranced medicines called MAOIs like Carbex, Eldepryl, Marplan, Nardil, and Parnate within 14 days
* an unconventional retaliation to duloxetine, other medicines, foods, dyes, or preservatives
* productive or trying to induce productive
* breast-feeding
[url=http://www.ecometro.com/Community/members/orderCymbalta.aspx]uk order Cymbaltabuy Cymbalta in Edinburgh [/url]
buy Cymbalta in Chicagobest buy CymbaltaCymbalta master card delivery
[url=http://pettags.com/forum/members/orderCymbalta.aspx]buy Cymbalta in Kansasdelivery nextday nextday Cymbalta [/url]
buy Cymbalta in Illinoisdelivery cod Cymbaltabuy Cymbalta in Wyoming
[url=http://fortheloveofthecode.com/members/buyonlineCymbalta.aspx]buy Cymbalta without credit cardconsult cheap pharmacy insurance Cymbalta [/url]
master card CymbaltaCymbalta canadaCymbalta no prescription to buy
[url=http://tuguia.com/members/onlineCymbalta.aspx]Cymbalta shipping order overnightCymbalta prescription buy [/url]
buy Cymbalta no prescriptionbuy Cymbalta in RomaCymbalta cod non overnight no consult
[url=http://notradical.com/members/orderCymbalta.aspx]Cymbalta no prescription to buyCymbalta medication order [/url]
buy Cymbalta in HoustonCymbalta torontouk Cymbalta cheap
[url=http://barborazychova.com/members/orderCymbalta.aspx]Cymbalta pharmaciesbuy Cymbalta without rx [/url]
Cymbalta doctor buy fedex orderbuy Cymbalta in BirminghamCymbalta shipped by cash on delivery
[url=http://www.church-on-the-net.com/cs/members/buyonlineCymbalta.aspx]buy Cymbalta without a perscriptionCymbalta canada tablets [/url]
prescription online us pharmacy Cymbaltabuy Cymbalta without a perscriptionCymbalta by c.o.d
[url=http://sqlblogcasts.com/members/buyonlineCymbalta.aspx]order generic Cymbalta onlineCymbalta COD online find [/url]
fedex cod non Cymbaltabuy Cymbalta without doctorCymbalta uk insurance
[url=http://hotcam.no/groups/members/onlineCymbalta.aspx]Cymbalta tablettencheap Cymbalta online [/url]
approval overnight approval CymbaltaCymbalta by cash on deliveryvisa card mastercard Cymbalta
[url=http://taskmap.com/communityserver/members/onlineCymbalta.aspx]over-the-counter Cymbaltanight fedex Cymbalta [/url]
buy Cymbalta online us pharmacyCymbalta by codgeneric Cymbalta usa
[url=http://mcfedries.com/cs/members/orderCymbalta.aspx]Cymbalta shipping order overnightbuy Cymbalta in Manitoba [/url]
buy Cymbalta online with a debit cardhow to buy Cymbalta without a prescriptionCymbalta cod order
^^ You need Akismet I guess