Popular Posts Widget With Comments Count For Blogger

Popular post widget with comments count is a nice widget for bloggers that wish to show the most viewed/popular post on their blog with the number of comments. This widget gives visitors easy access to the most popular and most commented posts on your blog which other readers have read and commented on. This widget also increases blog page view since visitors view more pages on blog.


Today, I want to give you a simple code you will add to your blog to make this widget show on your blog.

How to Add Popular Posts Widget with Comments Count to Blogger

  • Go to Blogger>Design>Page Element
  • Click Add a Gadget option and choose HTML/JavaScript 
  • Choose HTML/JavaScript
  • Then copy and paste the code below into the HTML/JavaScript box and give it any name you wish such as: ( Popular Posts, Most Popular Post, Most Viewed Trend, Most Commented and e.t.c.)

    <script language='JavaScript'>
    aBold = true;
    numposts=200;
    maxshowresult=5;
    home_page = "http://YOUR-BLOG-URL/";
    </script>
    <script src='http://olusegun-fapohunda-calculator.googlecode.com/svn/popular-post-widget-for-blogger.js' type='text/javascript'></script>
  • In the code above, change YOUR-BLOG-URL to your blog address.
  • You can customize it by changing the maxshowresult (i.e. maximum result that will be shown) to any figure but the default is 5

If you encounter any difficulty in the process of adding this code to your blog, don’t hesitate to use the comment box below.



Over 50,000 + Readers

Get fresh content from JustNaira


9 Comments

  1. mike
  2. Rohan Mod
  3. Azriffafifan

Leave a Reply