Follow by Email

Sunday, November 20, 2011

Sort Blogger comments by Descending

Below Code has been depreciated when Google introduced Thread commenting feature

Recently Purnomo has quested how to reverse the blogger comments order?
But I searched in web is there any existing technique for this, But unfortunately no idea was available for the users. So MacroLayer Pleasure to introduce new Script for Date Descending.

 Let we see how to sort the Blogger comments orders in our blogs. Since blogger hosts the comment, we can’t alter the order which it comes. But we can make prolific blogs design which reads blogger comments in descending order. Technically, latest comments will display top on your comment area. Not sure everyone likes to sort their comment order, but definitely many blog owners are looking for comment sorting option. This new Script will make you to sort simply a reverse. This script doesn’t affect any template design or any add-on which are in your blog. More over it is user friendly for most of the blogger templates. Now it is tested clean for IE,Firefox,Chrome.

How to install:
Just copy the below code and paste it above the </body> code in your blog template.

<script src='http://hosting.gmodules.com/ig/gadgets/file/105066904960012479556/ncsort.js' type='text/javascript'/>



this script will sort out all your comments in all your posts in your blog. If you want to sort only a particular post then replace the below red words with your post address and copy this and paste it in your template just above any of  the     <div id='backlinks-container'>  tag or <p class='comment-footer'> tag


<b:if cond='data:post.url == "http://yourblogaddress.blogspot.com/2011/11/sample.html"'>
<script src='http://hosting.gmodules.com/ig/gadgets/file/105066904960012479556/ncsort.js' type='text/javascript'/>
</b:if>


Still if you have a Problem in your template drop a comment with your blog address
Enjoy!