So, now let's move to the main point. Follow the steps below if you want to add a digg button in your blogspot blog.
- Go to Blogger.com.
- Log in with you Google e-mail and password.
- From your Dashboard click on Layout.
- Then click on Edit HTML.
- Now at first back up your entire template clicking on Download Full Template.
- Then check Expand Widget Templates checkbox.
- Now find the following code block.
<data:post.body/>
- Now copy the following code block before <data:post.body/>
<!-- 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>
- Now save and view the result.
No comments:
Post a Comment