Thursday, May 28, 2009

Blogger Hack: Add Digg button on Blogger Template next to title

·

Okay, so now lets begin with adding a Digg button on your blogger template. The output will be just like the Digg button i have on my blog, next to the title of the blog.


First, open blogger and go to HTML editing. Tick-mark the button that says Expand Widget templates.

Please backup your template before making any changes in the template. Click on Download Full Template on the EDIT HTML page.
Search for the following code in your template:
...<data:post.body/>...

And add the following code just before this : <data:post.body/> line

<!-- DIGG -->
<div style='float:right; margin-left:10px;'>
<script type='text/javascript'>
digg_url = '<data:post.url/>';
</script>
<script src='http://digg.com/tools/diggthis.js' type='text/javascript'/>
</div>

That's it, you are done.




Spread Firefox Affiliate Button

If you like this article then you may also like receiving free daily updates directly in your email (one email per day).

Subscribe new articles by RSS feed or by Email

Enter your email address:




Related Posts by Categories



0 comments:

Post a Comment

Comments On Learn Zone are Moderated by me and only then they shall appear here. Please do not spam in the comment box.

About Me

My name is Aneesh Bhatnagar. I am a student in Class XI,like blogging and helping out others with different softwares... Well, That's all i can say about me... Have any queries???Mail me at : persnalid@gmail.com