Organise your comments with numbers

What is the happiest thing that can happen to an average blogger?..8-> yes.. you guessed it right.. to get some comments for the post Imagine how thrilled you were when you got the first comment for your first post..Then came a time you started receving comments (users with names and also anonymous users) and you were trying to reply to the a certain comment and got misunderstood by a different commentor… left you wondery why 😕

How about numbering the comments so that you can say exactly to which (rather whose) comment you are refering to..Still confused with waht I am saying.. I suggest that you click on any of the posts so that the post opens in a diffrent window along with the comments displayed..See any diffrence..The comments are all numbered

Want to know how i did this..Read along

  1. :-B SAVE AND BACKUP YOUR TEMPLATE :-B
  2. LOCATE THE FOLLOWING LINES IN THE TEMPLATE
    STEP-1

    <dl id=’comments-block’>
    <b:loop values=’data:post.comments’ var=’comment’>
    <dt class=’comment-author’ expr:id='”comment-” + data:comment.id’>
  3. You need to add the tags shown in RED so that the final code looks like this
    <dl id=’comments-block’>
    <ol>
    <b:loop values=’data:post.comments’ var=’comment’>
    <li>
    <dt class=’comment-author’ expr:id='”comment-” + data:comment.id’>
  4. LOCATE THE FOLLOWING LINES IN THE TEMPLATE
    STEP: 2

    <span class=’comment-timestamp’>
    <a expr:href='”#comment-” + data:comment.id’ title=’comment permalink’>
    <data:comment.timestamp/>
    <b:include data=’comment’ name=’commentDeleteIcon’/>
    </span>
    </dd>
    </b:loop>
  5. You need to add the tags shown in RED so that the final code looks like this
    <span class=’comment-timestamp’>
    <a expr:href='”#comment-” + data:comment.id’ title=’comment permalink’>
    <data:comment.timestamp/>
    <b:include data=’comment’ name=’commentDeleteIcon’/>
    </span>
    </dd>
    </li>
    </b:loop>
    </ol>

So waht are you waiting for.. Start organising..dont forget to backlink to this post

2 Replies to “Organise your comments with numbers”

Leave a Reply

Your email address will not be published. Required fields are marked *