First To Comment Wordpress Plugin

Took some time this late evening to toss together this simple wordpress plugin to show off the most recent people to make the first comment on the 10 most recent posts. This sort of encourages the bad behavior of people spamming sites with “FIRST!”, but whatever. I think it encourages a good fun atmosphere on this site and any other site that may use it.

This thing is extremely beta. I tossed it together based on the Freepress Blog Top Commenter’s widget. So if you run into bugs, toss me a note. I could use some feedback on how well it works on various Wordpress installs. Basically, what version you are using and whether or not it works. As of right now its working for WP 2.2+. Enjoy.

Install Instructions:

  1. Unzip the contents of this zip to your Plugins folder. I.E.- wp-contents/plugins/firsttocommentwidget.php
  2. Activate the plugin in your wordpress admin panel.
  3. Goto your Presentation -> Widgets Panel and drag the widget onto your sidebar panel and enjoy!
  4. Alternatively you can call this plugin using:
    < ?php get_firsttocomment_posts(’10′); ? >
    You can replace “10″ for however many posts you want the plugin to query for comments.

Download Plugin: firsttocommentwidget.zip

2 Comments »

Comment by Stephan Miller
2008-02-12 14:31:59

Great idea. I think I will use conditionals and put top commenters on the home page and use your plugin for the other pages. Why? Because right around the first of the month, I get a mass of comments I am sure to get on the top commenters widget. Well, this plugin will get people commenting throughout the month. I stumbled it for ya.

Comment by Ryan Yockey
2008-02-12 14:42:22

Good idea, I hadn’t thought about using the plugin like that. As you can tell I’m not a highly commented site, so I can see the usefulness in using it like your saying.

Thanks for the stumble!

 
 
Name (required)
E-mail (required - never shown publicly)
URI
Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong> in your comment.