Categorized under: Wordpress Plugins

Top Categories Plugin

I created a new wordpress plugin called Top Categories. You tell it how many of your most frequently posted to categories you want it to show and it will display an unordered list of those categories. It is based off of the Popular Tags plugin by Theron Parlin which was based on the weighted categories plugin by Matt Kingston. Unlike either of those plugins I do not display a tag cloud – but that might be a good option so that this one plugin is a bit more flexible.

You can get this plugin downloading this zip file. Usage is pretty simple:


<?PHP top_categories(10); ?>

You can replace 10 with any positive number you want. By default top_categories() will show the top ten categories. This plugin may work with wordpress versions before 2.0 – but I haven’t tested it.

  • Jakub,

    currently you can't exclude any; I'll look and see how hard it would be to add that feature. Previously I have never needed to exclude any so it just displays the top categories you post to. Would you want to exclude them by category name?
  • Jakub
    Hi,
    How to excude some categories from the list? Thanks!
  • Tom - yes it does seem to work fine in the newest version of Wordpress.
  • Tom I believe it is. I run a hybrid version of wordpress on this site (I download development copies on occasion from the wordpress site and it still works ok here.

    I'll update my test copy (on my machine) to the latest possible nightly build and see if it still works then post back here to let you know.
  • Tom
    Is your plugin compatible with the new 2.1 release?
blog comments powered by Disqus
RSSSubscribe to my feed now.