rounded top
Vote for a site and get traffic to your own, or in other words... be nice for rice!
rounded left rounded right
rounded top
rounded bottom
rounded top

This blog has closed. Sorry!

Most Commented WP Plugin

June 3rd, 2007 by Spud Oregon

With a few simple tweaks to my Random Posts plugin for Wordpress, I was able to magic up a “Most Commented Posts” plugin. As the name suggests, this plugin returns a list of posts from your archives which have received the most comments. I also added the option of displaying the number of comments next to the post title. 

An example of a list of most commented posts. Here are some benefits of giving readers a list of most commented posts:

  • It directs them to popular posts.
  • It encourages more comments.
  • It increases the time visitors spend on your site.
  • It helps advertisers decide which posts to buy a post level text link ad on.

You can see my Most Commented Posts plugin in action on the archives page.

View the ReadMe file - all the instructions are here.

Download most_commented_posts.zip - ReadMe file included.

Update: July 18th 2007 - Azmeen from HTNet has turned this plugin into a widget, so you can just drag and drop it wherever you like on a widget-enabled Wordpress theme. Many thanks Azmeen! Get the Most Commented Posts Widget.

Update: June 5th 2007 - Now you can limit it to posts that have been commented on within the last X days.

If you use this on your blog, please let me know about it!

Rice: The visions and progression of an aspiring Internet entrepreneur Wireless LAN Security Human edited webmaster bid for position web directory. Michael Kwan, freelance writer, blogs about everything musings of a probably deranged w-o-m-a-n talking abiout nothing Blogging 4 EveryOne Asia online hotel reservation with bestdeals Find everything about adobe, webdesign, programming, technology, developer and more Digital sandbox and soapbox of a software tester. It's not only fruity, it's oaty! Foodie techie. Surveys for Australians - and everyone else - that really pay. All legit, reviewed and free to join! Los mejores Trucos para descargar de Megaupload, Rapidshare, etc. wallpapers, programas, utilidades. An Inuyasha Fan Club! Web development services for small and mid-sized business. Meditation Music for stress relief Creative Web Design, Web Page Design, Site Design, Web Hosting, Web Designer Olga Bennett Jaime Shaffer

Posted on June 3rd, 2007 in Wordpress.
Comments: 23

Voting has been disabled for all posts since this site's closure on 9/13/2007.


23 Comments

Comment by fruityoaty
2007-06-03 22:59:37

Wow, that’s a very useful plugin, indeed. I’m going to give it a spin on my blog, maybe… next week.

Thanks for sharing. :)

 
Comment by Karlo.PinoyBlogero Subscribed to comments via email
2007-06-04 05:51:45

Woah. Another one of your WP Plugins! Great! I have tried out your plugins and I am very pleased with it. However, I think the only thing I shall be using is the Random Messages plugin because it will prove useful to my blog. The other plugins, they are great although I don’t think I can be able to accomodate them.

Suggestion: It would be nice if you’re plugin can support widgets. Although it wouldnt be necessary. I was just thinking that some people are not that good when it comes to codes, so by having a feature that can be used as a widget it would be much easier for them.

I’ll shoot you a comment the moment I have placed it up on my blog.

Comment by Spud Oregon
2007-06-04 08:31:55

Thanks Karlo. Unfortunately, I wouldn’t know where to start in making a widget. Actually, I’ve never even used one. There may be better alternatives to my plugins out there, maybe even “widgetable” ones, I just haven’t gone looking for them because I enjoy trying to make my own.

Comment by Matt Huggins
2007-06-04 18:27:53

Converting a plug-in into a widget typically is really easy. If it’s something you want to do, let me know, and I’ll give you a hand.

Comment by Spud Oregon
2007-06-04 22:07:43

But wouldn’t I need to set up a widget-ready theme to test it? If anyone would like to take this plugin and improve it or widgetize it, feel free to do so!

(Comments wont nest below this level)
Comment by Matt Huggins
2007-06-05 00:03:39

Yeah, the theme would need to be widget-ready. I have a testing blog on my localhost with a few widget-ready themes, so I’ll see if I can find some time to widgetize it tomorrow.

 
Comment by Spud Oregon
2007-06-05 09:01:15

If you do, host it on your blog and I’ll link to your widgetable version from this post.

 
 
 
 
 
Comment by Matt Huggins
2007-06-04 18:26:42

Nice! I currently have the Top Post By Comments plug-in installed, but I’m working on a redesign right now, which includes making access to posts more accessible with plug-ins like the one you mention here. I’ll definitely check it out!

 
Comment by jez
2007-06-07 09:18:34

Cool I think I will install that ;-)

 
2007-06-07 17:48:01

I’ve created a monster! Three plugins in less than a month…very cool.

 
2007-06-12 21:55:20

[…] HTML expert — though I know a couple of things — so I couldn’t understand why the N4R Most Commented Posts plug-in wouldn’t work within a Wordpress Page. Fumbling around Google, I discovered that I […]

 
2007-06-13 16:20:08

[…] plug-in that I found recently was the Most Commented Plug-In by Spud Oregon of Nice4Rice.com. This funky sidebar widget goes great with the Show Top […]

 
2007-07-18 03:13:41

[…] to N4R for the initial inspiration and PapaJoneh for beta […]

 
Comment by Azmeen
2007-07-18 21:15:34

Thanks for the link! Much appreciated.

By the way, my name is Azmeen, not Azeem :)

Comment by Spud Oregon
2007-07-18 23:27:12

Whoops! Sorry. I’ve corrected it now.

 
 
Comment by Scam
2007-07-29 06:29:24

Great plugin and I’ve installed it now but is there a way for it to take into account comments made before the installation date?

 
Comment by Scam
2007-07-29 14:16:27

Scrub the above, upgrading to the latest version of Wordpress fixed it for me.

 
Comment by Stefson
2007-08-08 13:44:23

I’ve installed the plugin on my blog :) Check it out. Works like a charm, great stuff Spud!

 
Comment by IngaOz Subscribed to comments via email
2007-08-11 04:32:28

Great plugin (and widget is just cool!), Thanks! Using it on one of my blogs now (Luckyeveryday.info) and probably will use on more soon :) Thanks again!

 
Comment by alejandro
2007-08-12 18:48:32

hello:

i wanted to know if this plug in takes into account the whole of the archive, or a mobile time-window.

thanks!

alejandro

Comment by Spud Oregon
2007-08-12 23:18:46

The whole archive, but you can limit it to the last X days (90 days, 365 days, etc.).

 
 
2007-08-17 05:54:37

[…] Most Commented Posts plugins can help you to promote your most popular posts in different way. They display the Top10 most commented/discussed posts of your blog. […]

 
2008-07-02 14:25:59

[…] its corresponding month. You can see Smart Archives in action over at Beyond the Rhetoric. The N4R Most Commented Plug-In is also being used on that archives […]

 

Sorry, the comment form is closed at this time.

rounded bottom
rounded top
rounded bottom
rounded top
rounded bottom
rounded top
rounded bottom
rounded bottom