Subscribe For Free Updates!

We'll not spam mate! We promise.

1
Adding a bubble comment counter in blogger


Comments are always seen as an important factor in the success of your blog. Users normally comments on your blog to appreciate author of that post, or to ask questions. One way to judge the popularity of the post is to see the number of comments post has received and for that you need to put comment counter on your blogger blog. In this article I will be explaining you how to add beautiful bubble comment counter to blogger blog.

How To Add Beautiful Bubble Comment Counter To Blogger Blog


Step 1

Login to your blogger blog and select the blog from your blog dashboard. Now selecttemplate >> edit html.

Step 2

Click in the template code area and press ctlr + F5 to open search box and type the following code in the search box.

]]></b:skin>


Step 3

Now expand the code by clicking the arrow next to it and search for the above code again, simply add the below code above ]]></b:skin>
.comment-bubble {float : right;width : 48px;height : 48px;background : url(http://goo.gl/92MxG2);background-repeat: no-repeat;font-size : 18px;margin-top : -15px;margin-right : 2px;text-align : center;}
Step 4

Once the above code is added to the template, search for the code below
<b:if cond='data:post.title'><h3 class='post-title entry-title'>

If due to some reason you are unable to find the above stated line of code look for the code written below.
<b:if cond='data:post.title'> <h3 class='post-title entry-title' itemprop='name'>

Step 5

Now add the following code immediately after this code.
<b:if cond='data:post.allowComments'><a class='comment-bubble' expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick' style='color: #000000; font-size: 18px; font-weight: bold;'><data:post.numComments/></a></b:if>

Customizing comment counter 

You can change the #ffffff hex color code to the choice of your color or color which suits to your template. Similarly, change 18px font size to your preferred font size.

I have provided a few beautiful images that you can add to your blogger bubble comment counter, just replace the URL with the above stated URL in Step 3 that is highlighted in pink color.

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3iw6m3idcE4eo7W0XRHJYyVaursZdEHOkIhYh-hbjn6KMuPybb9eTau7qNe1gCnaUhWa4VTc6huY-gJ_hyphenhyphenJATGAtb-4nworMxtc5EUX6sJ_zNR2beR_hoZlNXmkYPQRkjLwW6uqWulFaz/s1600/blue+bubbe+comment+counter.png

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEkQj_nFk6OVfgLdylpzrEcqVIKgo9kodjwRH3fFVfRaBcgEhg1cySX26ZiTrJLsS8aR7ML3zUJjOemYei81nAG-jgIqIUHV3muImJmfDit4pzJW6xTsS6ZGHOarO-cW_nbam4wsegv8cr/s1600/pink+comment.png

I hope you have liked our effort of providing a beautiful bubble comment counter to blog post title. Do write to us in the comments section.

About The Author
Hasan Shaikh is the founder and admin of ShmHack, a popular blog dedicated for Learners,Geeks and Bloggers. He is currently 19 years old and loves to post articles related to blogging,SEO,adsense,hacking,security,social medias,computer and android. Find more about him...

Post a Comment

Write Your Precious Comments Here.!

 
Top