Sunday, May 11, 2014

How to Show Total Number of Post And Comment in Blogger


By on Sunday, May 11, 2014

Show Total Number of Post and Comments in Blogspot.

Some bloggers love to show their blog stats to visitors. Actually adding these types of useful widget attract visitors and also blogger themeselves can easily see their blog stats by just viewing their blog. So do you want to show total number of published post and comments in blogger. For adding this widget you just need to add a JavaScript code in your blogger gadget. Follow the below steps to know how to add this widget.

How to Show Total Number of Post And Comment in Blogger 

1. Login to blogger.com
2. Click on Dashboard
3. Click on Design Tab
4. Click on "Add a Gadget"
<script style="text/javascript">function mbhTotalCount(json) {document.write(parseInt(json.feed.openSearch$totalResults.$t,10));}</script><p style="font:20px Tahoma;">Total Posts: <script src="http://www.makesomesense.com/feeds/posts/default?alt=json-in-script&callback=mbhTotalCount"></script></p><p style="font:20px Tahoma;">Total Comments: <script src="http://www.makesomesense.com/feeds/comments/default?alt=json-in-script&callback=mbhTotalCount"></script></p>
5. Now Save it.

Kindly Note: Please replace http://www.makesomesense.com with your blog URL.

View Your Blog.

Thanks i hope you like this post.


About Rafay Ansar

Rafay Ansar is a young geek, freelancer writer, blogger, social media expert and author of MakeSomeSense. He writes about technology, Information and Securities, Web Development, Tips And Tricks, Blogging And Other Web resources.

0 blogger-disqus:

Post a Comment