Top posts this month

22nd of June 2010 12

Top posts this month

There are about a billion plugins for WordPress but they are always either too much or too simple. I was actually about to write about how to show the top posts for the current month without a plugin but then decided that what the .. Let’s do it as a plugin anyway so more people can have this sort of simple yet useful functionality without getting messy with PHP.

top posts this month

So i present to you… Top Posts This Month.

This plugin simply gives you a widget that shows the top posts of the month by getting posts sorted by the numbers of comments made. One could also do it by gathering the number of views for pages but since WordPress doesn’t have views built in by default comments is good enough for this plugins purpose.

You’ll need to activate this plugins Widget (after plugin activation)  in order to see anything. If you want you can change its title and number of posts to show as well.

Download

Feel free to comment about this wordpress plugin or say anything smart about it.

Filed under § WP plugins — Tagged with , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

Share it!

Was it good for you to?

Related posts

Similar posts to this one

Sponsors

Support for the site!


12 great comment(s) for this post

  1. Camelot 5:42 pm 23/06 of 2010

    Thanks for the plugin but I get this message:

    “The plugin has produced unexpected output 6 characters during activation. If you leave the warning message “headers already sent”, problems with feeds, try disable or remove this plugin.”

    The plugin is activated but the widget does not leave either the title or edit the number of entries to display. Nothing. No post is displayed in the sidebar.

    Please forgive my poor English

    Reply
  2. Level 5 (of 10) Watch out, this user is an admin! His job is to make everything on this site work well - don't mess with him!

    Tommie Hansen (16 comments) 6:55 pm 23/06 of 2010

    Probably a headers problem as suggested. I’ll check if i can reproduce the problem later on.

    Reply
  3. Arek Sredzki 3:22 am 24/06 of 2010

    @Camelot:
    got the same error

    Reply
  4. IvAtanasova 11:29 pm 31/07 of 2010

    I would like to exchange links with your site byme.se
    Is this possible?

    Reply
  5. Level 5 (of 10) Watch out, this user is an admin! His job is to make everything on this site work well - don't mess with him!

    Tommie Hansen (16 comments) 12:24 pm 2/08 of 2010

    @IvAtanasova:
    No, not really.

    Reply
  6. rob 2:52 am 11/08 of 2010

    Was able to use this only after adding: post_type = ‘post’ to the sequel query as it was including pages as well as posts.

    Thanks for the plugin though!

    Reply
  7. rob 3:10 am 11/08 of 2010

    Also, the whitespace in your php between functions caused some problems when activating another plugin.

    Hope this helps.

    Reply
  8. Saeed Khan 5:27 pm 7/09 of 2010

    Hi,

    Installed your plugin on WP 3.0 and almost once I enabled the widget I got this error. I can’t uninstall the widget.

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/06/6127406/html/wp-content/plugins/top-posts-this-month/topthismonth.php:34) in /home/content/06/6127406/html/wp-includes/functions.php on line 830

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/06/6127406/html/wp-content/plugins/top-posts-this-month/topthismonth.php:34) in /home/content/06/6127406/html/wp-includes/functions.php on line 831

    What should I do?

    Reply
  9. suenursuamept 8:16 am 15/04 of 2010

    Its like you read my mind! You appear to know so much about this, like you wrote the book in it or something. I think that you can do with some pics to drive the message home a bit, but instead of that, this is wonderful blog. A great read. I’ll certainly be back.

    | Sensible Juicer Reviews Products – Just One Click Away

    Reply
  10. Irrigefet 8:45 am 27/09 of 2010

    http://www.taintdc.com/
    自社で発行するポイントを保証期間の延長に利用できるただし、また、伊藤忠が28出資しており、を目前に控えた9月7日、.

    Reply
  11. nfl china jerseys 5:13 am 18/10 of 2010

    That is amazingly fascinating, You may be a highly professional tumblr. I contain joined ones own feed and look forward to seeking more from your wonderful blog post. Also, I’ve shown your website online in my web 2 . 0!

    Reply
  12. Walter Pardini 5:10 pm 3/02 of 2010

    many thanks, I believe your visitors could possibly want significantly more posts similar to this carry on the excellent do the job.

    Reply

Your opinion matters. Add it below.


Tip: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

  • Popular posts this month
  • 5 Random posts
  • jQuery simple tabs There are about a billion plugins for Wordpress but they are always either too much or too simple. I was ...
  • CSS3 = Fail There are about a billion plugins for Wordpress but they are always either too much or too simple. I was ...
  • Top posts this month There are about a billion plugins for Wordpress but they are always either too much or too simple. I was ...
  • Cufon: Fixing the damn flickering There are about a billion plugins for Wordpress but they are always either too much or too simple. I was ...
  • Crossbrowser text shadow with jQuery There are about a billion plugins for Wordpress but they are always either too much or too simple. I was ...

Follow me @design_byme RSS Design Feed

Copyright Tommie Hansen since 2010. All rights reserved. Design and the Absolute Theme by Tommie Hansen.