How To Show Total Comments In Every Post

In some blogs, we usually see an small icon with number beside post title. Like the name, the function is to shows the total comments on these posts. To show total comments in every post, you must follow the steps below.

1. Log in to your blogger account
2. Go to Edit HTML
3. Then, thick Expand Widget Templates
4. Search this code : <a expr:href='data:post.url'><data:post.title/></a>
Tips : to speed up the search, you can use Ctrl+F or F3
5. Then copy the code below, and paste under <a expr:href='data:post.url'><data:post.title/></a>
<b:if cond='data:blog.pageType != &quot;item&quot;'>
<img border='0' src='http://1.bp.blogspot.com/_C6KkooKXCEw/SJGzpJXhKoI/AAAAAAAACGw/QZ7IzDBHgFU/s400/icon_comments.png'/>
<a expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'><b:if cond='data:post.numComments == 1'>1 <b:else/><data:post.numComments/></b:if></a>
</b:if>
6. Save now

3 comments:

Post a Comment

:) :( :)) :D =))
Loading Comment Form