Normal comment count show same label for singular and plural comment count. For example, if your post has one comment, it will show "1 comments" not "1 comment". If your post has no comment, it will show "0 comments" not "No comments".

Follow below steps to customize comment count in comment form.

1. Goto blogger.com & login


2. On Dashboard, click Layout > Edit HTML




3. On Edit Template, tick Expand Widget Templates
and find below tags (based on Minima template)

<h4>
<b:if cond='data:post.numComments == 1'>
1 <data:commentLabel/>:
<b:else/>
<data:post.numComments/> <data:commentLabelPlural/>:
</b:if>
</h4>

replace with
<h4>
<b:if cond='data:post.numComments == 0'>
No Comments to &quot;<data:post.title/>&quot;
<b:else/>
<b:if cond='data:post.numComments == 1'>
1 Comment to &quot;<data:post.title/>&quot;
<b:else/>
<data:post.numComments/> Comments to &quot;<data:post.title/>&quot;
</b:if>
</b:if>
</h4>

from (click the image to enlarge)


to (click the image to enlarge)


4. Save Template


You can change No Comments to No Responses etc. Also 1 Comment to One Comment or One Response etc. It's up to you.

[back to top]

No Responses to "Customize comment count in comment form"

Leave a Reply

Articles

Comments

Recent Customizations

Recent Tips

Recent Tricks