Digg It button for blogger

Written on 1:49 AM by ปั้มเงิน Cookie Run

Are you a digger ? If so then you might want to embed a simple and nice looking digg it button next to your post.

First of all you have to login to your blogger blog admin panel, then select template / edit html, mark Expand Widget Templates and copy paste the whole html code in a plain text editor like notepad. You might consider to make a template backup if something goes terrible wrong :).

Now find the following line of code

<p><data:post.body/></p>
and place this on the next line :
<p>

<!-- 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>
<data:post.body/>
</p>


Thats all folks, copy and paste the html back to your html view and save

Credit Link Blogger Templates


If you enjoyed this post Subscribe to our feed

No Comment

Post a Comment

X Close