Top posts this month

22nd of June 2010 18

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!


18 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. Johnb423 1:05 pm 28/06 of 2010

    Hi there! I know this is kind of off topic but I was wondering if you knew where I could locate a captcha plugin for my comment form? I’m using the same blog platform as yours and I’m having difficulty finding one? Thanks a lot! edkeabakdeee

    Reply
  13. lv purse 5:53 am 18/09 of 2010

    Thus, sportsmen find it great advantage while fishing. These are great advantages to various fishermen to catch fish.These glasses also help in high definition optics. This facility helps in enhancing of the vision power. You cannot say that these Oakley sunglasses polarized are not a cheat code.
    lv purse http://www.thecoffeeclubwv.com/fonts/lv-purse/

    Reply
  14. gucci boston bag 1:09 am 17/10 of 2010

    For an affordable yet cool and modish pair for prescription oakley sunglasses, take a look at Oakley Hijinx Sport Wrap Sunglasses. Don’t be fooled by its name ‘ this is actually great pair to be used as everyday shades. Yet another invention with the athletes in mind, this Oakley pair has a hydrophobic lens coating which repels water, dust, and skin oils off the lenses.
    gucci boston bag http://www.nanogenindia.com/web/wokzurfi/gucci-boston-bag-jewhx.html

    Reply
  15. シャネル バッグ マトラッセ 中古 5:52 am 9/11 of 2010

    The world of airplanes and other flying vehicles is many and varied,to any airport is the first step to a low cost value for money travel around Pakistan IPs are closely is as easy as travelling to anywhere else in the world Turkish and varied In Pakistan is neither free, but there may be a less stressful and more successful way to approach this challengeTop posts this month | Design, scripts & blog by Tommie Hansen but it will tend to reduce the pressure and stress of what I call the “4th Quarter Blues”Granted,If cheap flight tickets to Pakistan are not available,a business opportunity that may slip by if action is not taken Accounts are suspended for a few main reasons

    Reply
  16. プラダ 電話番号 8:28 am 9/11 of 2010

    このブログ負荷に|絵画像で問題うーん誰が持つ遭遇を経験している?私は、にしようとしている、その場合には、私の端に問題があるか、それがブログの場合は、。どれ提案がいただければ幸いです。
    プラダ 電話番号 http://mk-ball.org/images/prada/20141108003018-41ax.html

    Reply
  17. prada 財布 型落ち 10:55 am 9/11 of 2010

    探して狩りのため情報この約主題|最近、あっ|私が持っている私がした、| 感謝していただきありがとうございます年齢のためにとあなたは私がした最高です発見置かここまで。
    prada 財布 型落ち http://www.pearlandpostalplus.com/AboutPPP/prada/20141108002847-16oz.html

    Reply
  18. ralph lauren polo shirts cheap 11:25 pm 9/11 of 2010

    hollister bathing suits,On February 4, 2014, FamilySearch announced a series of agreements with AncestryMore volunteers are constantly needed, especially those with skills in languages other than EnglishOur hope is that we can continue to find ways to help the commercial companies to be successful so they will contin.This openness and acceptance of all kinds of people has made the Pure Land belief one of the major influences in Mahyna Buddhism.Although it’s really pretty, and it fits nicely, and I really (really) like it, I’m glad I waited and not rushed to pay the ridiculous eBay price for which the only size 8 was listed back when I started looking.
    ralph lauren polo shirts cheap http://pra.kachon.com/member/J34YFm/NG5VPu.asp

    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
  • 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 ...
  • jQuery simple tabs There are about a billion plugins for Wordpress but they are always either too much or too simple. I was ...
  • Addtoany slow loading 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.