Home » » Numbering your blogger Comments

Numbering your blogger Comments

This trick helps you to number each of your comments under a particular post..Thanks to Fernando of Quite Random for this awesome trick.You can read his original tutorial at Quite Random

I have tried to make it easier for you.. You can implement the trick in 3 simple replacement steps..(and a little SEO is added onto this hack.)





A small Demonumbered-comments-blogger

Steps involved in implementing this trick

1.Login to your Blogger Dashboard

2.Goto Template >Edit HTML

3.Choose to expand your Widget templates.

4.Find this line of Code




<dl id='comments-block'>



and replace it with




<dl id='comments-block'>
<script type='text/javascript'>var CommentsCounter=0;</script>



5.Now find this line of code



<dt expr:class='&quot;comment-author &quot; + data:comment.authorClass' expr:id='data:comment.anchorName'>



and replace it with




<dt expr:class='&quot;comment-author &quot; + data:comment.authorClass' expr:id='data:comment.anchorName' style='clear: both;'>




6.Now find this line of code



<data:commentPostedByMsg/>



and replace it with




<data:commentPostedByMsg/>
<span class='numberingcomments' style='float: right; font-size: 20px;'>
<a rel='nofollow' expr:href='data:comment.url' title='Comment Link' style='text-decoration:none'>
<script type='text/javascript'>
CommentsCounter=CommentsCounter+1;
document.write(CommentsCounter);
</script>
</a>
</span>



So you should have it working in just 3 replacement steps..:)If everything went well,you should now have a numbered commenting system on your blog.


Source: http://www.bloggerplugins.org/2009/08/numbering-your-blogger-comments.html

0 comments :

Post a Comment

 
Play : Agame | Y8 Games | Y3 Games
Copyright © 2011. Blogger Tips And Tricks 2012 - All Rights Reserved

Proudly powered by Blogger