Search This Blog

2.5.12

0 CUSTOMIZE BLOGGER COMMENT MESSAGE.

This is another way of encouraging your blog visitors to leave a comment before leaving.In one of my Previous posts,we talked about adding comment policy to blogs.

In Blogger default templates, if there are no comments in a post, the default template says "0 comments."
After the first comment,it says "1 comment," and so on.
Although this is accurate,it is not very attractive.

With this simple hack,you can include your message to it.

STEPS ON HOW TO CUSTOMIZE THE MESSAGE

Go to Design >> Edit HTML.Backup your template in case something goes wrong.

Check the box next to
Expand Widget Template and search for
<a name='comments'/>
by pressing ctrl+f.

Below that code,you will find the following piece of codes~

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

Just replace the codes in blue with the following~
<b:if cond='data:post.numComments == 0'>
Be the first to reply!
<b:else/>
<b:if cond='data:post.numComments == 1'>
1 <data:commentLabel/> so far. What are your thoughts?
<b:else/>
<data:post.numComments/> <data:commentLabelPlural/> so far. What are your thoughts?
</b:if>
</b:if>

Having done that,just preview your blog and thereafter SAVE it.
THAT'S ALL!!!.

You can edit the texts in red to yours.

«PREVIOUS NEXT» ¤HOME¤

Be the first to reply!

Leave your comments behind!!

If you experienced any difficulty understanding this post,do tell us. But,please do not spam.
Your suggestions are also very valuable to us. Thanks...
The Author.

Leave your comments.

If you need reply to your comments,please do not comment as `Anonymous`
Found a Dead or Unresponsive link?, Kindly inform us using the Comment Box.

 
[GET THIS]