Top Cat: a WordPress plugin

These are some readers' responses. Read the full article to see what all the fuss is about.

86 responses

Other comment pages: « 1 2 [3] 4 5 »

  • It works perfectly ! Thanks a lot !

    Flo | 6 June 2006
  • I posted this in the WordPress forum, but then I came across this plugin. It’s not exactly what I was hoping for ;) but maybe it can be adjusted with not too much trouble (???):

    I have to find a way to retrieve the top level category of a post.

    I have a few categories that function as top level category. They have no posts themselves. Beneath them are a few categories that contain posts. When I click one of them, for instance index.php?p=23 I want to know to what top level category this post belongs to, like this:

    Animals
    - Dogs
    – Golden Retriever
    – Husky
    – Rottweiler

    In this case Golder Retriever belongs to top category ‘Animals’.

    Any way I could still use this plugin?

    Thanks!

    jack | 12 June 2006
  • hey Bennett.. i havent yet used this on my website but i will try it.. i have many posts which are on atleast 2 or 3 categories and it would be cool to highlight a main one. thanks

    Prashant | 17 August 2006
  • [...] Top Cat: a WordPress plugin » Semicolon (tags: wp:plugin wordpress categories) [...]
  • Bennett,

    Thanks so much for this plugin. This is really something lacking in Wordpress.

    Is there any way to make topcat return the main category’s slug as opposed to its name? I’m trying to make pretty URLs and would prefer not to rely on index.php calling on the category id.

    I tried to pick apart your code, but, alas, I’m not PHP wiz. I beleive Worpress knows the value as $cat_nicename, however. Any help would be appreciated.

    —Spencer

    Spencer | 7 September 2006
  • Spencer, that’s a good idea. I’ll include it in the next update.

    Jack, I think that must be possible (though it’s not what Top Cat does). I’ll see if I can find out how to do it.

    Bennett | 9 September 2006
  • I think we are all still breathlessly awaiting an update (says the man without PHP skills).

    Spencer | 26 September 2006
  • Thanks for waiting, Spencer. I have recently updated the Evermore plugin, and I am working on Search Meter as well as Top Cat. Also my day job has gotten madly busy, I am living in temporary accommodation as my house is being renovated and my entire family seems to have come down with some kind of virus. I’m not playing for sympathy, but I just wanted to explain why things are rather slow…

    Bennett | 27 September 2006
  • Take your time. Maybe I should learn my own PHP, huh?

    Spencer | 20 November 2006
  • Top Cat has been updated to version 1.2. You can get full details and download Top Cat at the main Top Cat page.
  • Bennett,

    Thanks again for all your hard work. The new slug feature is a godsend. It really pretties up links on my site. Any idea why the select the top category checkbox isn’t working in WP 2.1-alpha3? The plugin itself is working as all the old post I used topcat on still appear correctly. I just can’t select the topcat of new posts through the GUI or edit the topcat of old posts.

    Spencer | 10 December 2006
  • Ah, so they finally broke it did they? I’ve just checked out the WP development trunk, so I will investigate at my pace (as they say in Japan).

    Bennett | 10 December 2006
  • Yes, the category checkbox IDs have changed in WordPress 2.1, so Top Cat can’t find them in order to add the adjacent radio buttons. I’ll upgrade Top Cat to cope in a backwards-compatible manner.

    Bennett | 12 December 2006
  • In the meantime, does it hurt to set this through PHPMyAdmin?

    Spencer | 13 December 2006
  • It should be no problem to set the main category directly — as you have probably figured out, it’s in the post_category column of the posts table. The fix is not quite as trivial as I thought, but I still plan to have it done when 2.1 is released.

    Bennett | 14 December 2006
  • I’ve made a minor update to version 1.3, to make Top Cat work with the latest beta version of WordPress 2.1. There are still a few WordPress 2 wrinkles that I need to iron out and some new features I want to add, so version 1.4 will appear in the fullness of time.

    Bennett | 12 January 2007
  • [...] Top Cat lets you assign the main category for a post when you select more than one category for it. [...]
  • Hello!

    Quick question. Your ‘how to use tutorial’ perfectly works for all the Cats i have. But what slug should i use to set background for the Pages the same way?

    Thank you in advance.

    Paul | 27 January 2007
  • Paul, Pages don’t have categories, so I don’t think you can do it the same way. I’ve occasionally thought of writing a plugin to let pages have categories… perhaps one day.

    Bennett | 28 January 2007
  • That would be the great feature - the same main slug for pages as well.

    Anyway thank you for your work!

    Paul | 28 January 2007

Other comment pages: « 1 2 [3] 4 5 »

Post your comment | RSS feed for comments
Close
E-mail It