Wednesday, August 12, 2009

Add Digg button to blog post


The idea add Digg button to every blog post is very brilliant, isn't it? So, the change that your post to be digg is higher ( as your blog promotion ;) does ).

With blogger, it's very easy to have one same as below :

addDiggbutton

First, go to your blogspot layout tab and click EditHTML,

layoutedit

check Expand Widget Templates and remember save a copy of your temple ( for safe ) by click Download Full Template.
Then find the phrase below by press Ctrl+F:

post.body

Your found like this :

postbody Just copy the script below and paste above the line we found:

<div
style="float:right;"><script
type="text/javascript">digg_url="<data:post.url/>";</script><script
src="
http://digg.com/tools/diggthis.js"
type="text/javascript"/></div>

Done.

0 comments:

Post a Comment

 

Easy Tutorial's | Copyright 2009 Tüm Haklar? Sakl?d?r | Blogger Templates by GoogleBoy