19 March 2010

Popular Posts or Most Commented Posts widget for blogger (new version)


Many of the Bloggers want to show their users list of the Most Popular posts on their blog.Many such "Popular Posts" widgets have been available for Wordpress blogs but there was none available for Blogger blogs.

Recently one such widget have been devised for Blogger.It is based on the number of comments each post gets.So,the most commented post will be the Most Popular Post of your Blogger Blog.

Live Demo

My previous Popular Posts widget was based on Yahoo Pipes and it is not working now. But never mind. Today we have a fully working step by step procedure for it.

So let's add this widget to your blog.


Go to Dashboard > Layout > Add a Gadget > HTML/JAVA Script. Give the title "Popular posts" or "Most Commented Posts" or anyone other you like. Now copy and paste following code and add to Content box. That's it.

Click here to get the code.

Save it.


Explanation :

Add your blog URL to
home_page = "http://medimania.blogspot.com/";

numposts- how many article that count

maxshowresult - maximum no. of posts you want to show.

It was very easy!


Real Time Popular Posts widget for Blogspot by Blogger

Related Posts


March 21, 2010 at 6:43 AM

This doesn't really have to do with the post, but I really need help with my template. See, on my site: www.clubpenguinneighborhood.blogspot.com Underneath the title of the post is the comment link. I HATE this, and so do most of my readers. No matter how much I try, I can't seem to move were it says comments back to the bottom.
Please please help!

March 22, 2010 at 12:39 AM


1) Go to layout then edit html
2) Download your full template so that you have a copy.
3) Check the Expand Widget Templates
4) Find the following code:

<div class='post-footer-line post-footer-line-2'>

5) Paste the following code right after it and before </div>:

<span class='feedback'>
<b:if cond='data:post.allowComments'>
<a class='comment-link' expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'><span style='color: green; font-style: italic;'>Click here to comment. We&#39;d love to hear from you!</span></a>

6) Change the text, color and font style to whatever you like.

March 23, 2010 at 11:05 AM

these kind of widgets are only available with WP, nice to know we can use this in bloger as well!! great work, your blogger blog proves what you say here..

April 5, 2010 at 4:31 PM

Hey, thanks.
How can I take out the n. of comments in brackets?

April 6, 2010 at 2:08 AM

You want to remove (1 comments) right?

April 6, 2010 at 6:27 AM

hey is possible to show the popular posts with most number of clicks or visits.i have been looking for such kind of widget since from a year or so but still unable to find one
please help......

the above widget works perfectly.
see it in action at http://www.ebollymasti.co.cc

September 10, 2012 at 7:19 AM

@Music Lover
Music Lover

It is not available now to have a popular post widget based on no. of visits.

Post a Comment


Twitter Delicious Facebook Digg Stumbleupon Favorites More