I am still unaware about the definition of blogger hack. In my sinple and innocent( he he) sense i think every thing related to the blogger codes may be called blogger hack. Was that wrong? Thank you smartass, leave your comment below about it then. Okay now lest go to the topic. today we are adding digg button on our post. And its easy to do that. Digg button on our post? Well, the button under my post title may help you.
This blogger hack(i said it, again) is not hard to implement. A digg button under your post in the way like my blog is just a few clicks away. So let's go step by step.
Step 1
I am making you bored again. Please download your full template so that you can have it like now. For that go to 'Dashboard' and then to 'Layout' and then to 'edit HTML'.
Step 2
Okay, i guess now you are on 'Edit HTML' section and have already backed your template up. Dont forget to click on 'Expand widget Templates' checkbox. Now search for this code
<p><data:post.body/></p>
If you want to put your botton on the top left like mine then replace the above code with this.
<div style='float:left; margin-right:10px;'>
<script type='text/javascript'>
digg_url="<data:post.url/>";
</script>
<script src='http://digg.com/tools/diggthis.js' type='text/javascript'/>
</div>
<p><data:post.body/></p>
But if you want to keep it at the top right corner of the page then replace with this code:
<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>
<p><data:post.body/></p>
You can keep experimenting with the codes to keep it on other parts of the blog too. If this post about Digg was good then please Digg me!
Subscribe to:
Post Comments (Atom)
3 comments:
Useful tip dude. Thanks
wow, thats really handy! it worked within 5mins...you explained it well! Thanks for posting your guide...i also "digged" the blog
Which leads me to question...how did you get all those little buttons and is it possible for me to do that on my blogspot? They look much cleaner than the larger digg icon.
Thanks, any help/tips would be great! cheers dude :)
dude, clean up your comment span.
Post a Comment