Pages

Change Comment Link Under Homepage Blog Post

My blog is still new and having little traffic. It certainly does not look good to show No Comment under every blog post, because nobody like to be the first person to give comment. So I decided to hide the number of comment. Here is how I tweak the text of comment link:

1. Click Template > Edit HTML > Proceed > Expand Widget Templates.

2. Ctrl + F to find the html code and change red code:
<span class='post-comment-link'>
<b:if cond='data:blog.pageType != "item"'>
<b:if cond='data:post.allowComments'>
<a class='comment-link' expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'>Our Reader Comments</a>
</b:if>
</b:if>
</span>
Notes: Alternatively, you can remove the text to hide the add comment link.

3. Click Save template.

No comments:

Post a Comment

© 2012 | All rights reserved | Design by Blogger Template Tutorials