Saturday, July 11, 2009

Number Comments in Blogger

Adding Numbers to your Blog Comments is very easy. The follwing steps will show you how can we number comments to our posts.
Go to Layout>Edit HTML in your dashboard. Check the “Expand widget templates” box, then search for this section of code highlighted
in pink. Immediately after that add the code highlighted in Purple :-->

<dl id='comments-block'>

<script type='text/javascript'>var CommentsCounter=0;</script>

<b:loop values='data:post.comments' var='comment'>

<dt style='clear: both;' class='comment-author' expr:id='"comment-" +'>
<a expr:name='"comment-" +'/>
<b:if cond='data:comment.authorUrl'>
<a expr:href='data:comment.authorUrl' rel='nofollow'>


<span class='numberingcomments' style='float: right; font-size: 20px;'>
<a expr:href='data:comment.url' title='Comment Link'>
<script type='text/javascript'>


Post a Comment

Label Cloud

Alexa Rank



Copyright 2008 All Rights Reserved Revolution Two Church theme by Brian Gardner Converted into Blogger Template by Bloganol dot com