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 atQuite 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 Demo
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='"comment-author " + data:comment.authorClass' expr:id='data:comment.anchorName'>
and replace it with
<dt expr:class='"comment-author " + 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.
Categories:
Blog Tips and Tricks,
Blogging Hacks,
comments,
Plugin,
Tutorials,
Widgets