The previous widget for showing Popular posts (most commented), has been stopped working, so here's a new code for the widget.
Steps to follow:
Log in to Blogger
Go to Layout -> Add a Gadget -> HTML/JavaScript
Now copy and paste this code in to the widget:
NOTE: REPLACE everything in RED color in the code above with your blog's address without typing http://
The above code displays 10 posts, you can change it by editing the number being displayed in blue !
The above widget code, displays the links/titles like this:
Post one (18)
Post two (14) etc.
If you want to display them like this:
Post one (18 comments)
Post two (14 comments),
then use this code :
And in case, you want to display the popular posts without the number of comments (as requested by Ben), use this code
P.S. : Please do not remove the footer link...


0 comments:
Post a Comment