Ads 468x60px

Sunday, August 7, 2011

How to Add Auto Comment Count Below Post Titles in Blogger

auto-comment-countComment bubbles or comment links are often added to blogger templates to let readers now how popular a post is and what kind of hot discussion is going on. I am sure almost every template has this feature by default but with a incorrectly programmed code. If you observe carefully the comment count links under each of my post titles follow a order. When there are no comments posted the link says “Be the First to comment!” and when there is just one comment it says “1 comment so far” and when the comments are more than one then it says “x comments so far” . This makes things beautiful and professional. Most of the comment count links on blogger templates just show the same text irrespective of the number of comments posted. You must make sure you encourage readers to post their views by using different variations of bubble texts. Lets add this automatically working comment link just below post titles along with a comment bubble.


How To Add Automatic Comment Count Link

  1. Go To BLogger > Design > Edit HTML
  2. Backup your template
  3. Click the Expand Widgets Template box
  4. Search for this,
If you could not find it then search for this code instead,






and just below anyone of them paste the code below,



Be the first to comment! Comment so farComments so far





You can replace the bolded text with anything you like or you can simply keep it as it is. If you wish to change the comment bubble image with one of yours then simply change the highlighted yellow image link with your bubble image link.

5. Save your template and view your blog to see it in action.
The link will appear only on homepages. If you wish the link to appear even on post pages then simply delete the purple text. Have Fun! :>

No comments:

Post a Comment