Forums

[resolved] [Plugin: My Category Order] "Uncategorized" showing even with 0 posts (6 posts)

  1. allstone
    Member
    Posted 2 years ago #

    Hiya, this plug-in (3.6.32) still works (mostly) with WP 2.9.

    Only problem I've found is that the "uncategorized" category shows up, even if there are no posts.

    http://wordpress.org/extend/plugins/my-category-order/

  2. allstone
    Member
    Posted 2 years ago #

    I'm sorry, I meant I'm using My Category Order version 2.8.7, not 3.6.32.

  3. vangrog
    Member
    Posted 2 years ago #

    It's probably your template which is set to show empty categories. You can change that by finding the code on it and editing properly.

    Take a look here to get more info:

    http://codex.wordpress.org/Template_Tags/wp_list_categories

    ------------------

    See if you can find on your template files (sidebar.php, for example, it it is there where you list categories) this code:

    wp_list_categories

    That's where it can be set to display even empty categories. if you write it like this, you might get empty categories hidden (once that's the default setting on WP):
    <?php wp_list_categories('title_li='); ?>

    cheers

  4. Andrew Charlton
    Member
    Posted 2 years ago #

    If you're using the My Category Order widget you'll want to check the "Hide Empty" checkbox, but it should be checked by default.

  5. allstone
    Member
    Posted 2 years ago #

    Hi Froman,

    I'm not seeing a "Hide Empty" checkbox. Is that on the My Category Order page?

  6. allstone
    Member
    Posted 2 years ago #

    Ah. There it is, in the widget. Thanks. Problem solved.

Topic Closed

This topic has been closed to new replies.

About this Topic