WordPress.org

Ready to get started?Download WordPress

Forums

Not all categories listed... (6 posts)

  1. JasonMock
    Member
    Posted 9 years ago #

    For some reason I'm having a continued problem with not all of my categories being listed in the right menu bar. http://www.jason.mock.ws/wordpress is the place I speak of, and you will see that it only lists about 10 of the 20 categories I have. Am I just simply trying to have to many categories or is there a setting somewhere I'm missing?

  2. Mark McKibben
    Member
    Posted 9 years ago #

    Do the missing categories have posts in them?

  3. JasonMock
    Member
    Posted 9 years ago #

    Yes they do...

  4. JasonMock
    Member
    Posted 9 years ago #

    Does anyone have a sugegstion for this because I cannot seem to find any reason behind it... I get the exact same result in a fresh dump of wordpress that has not been modified in any way

  5. Kafkaesqui

    Posted 9 years ago #

    Are you using wp_list_cats() to display your categories? If so, make sure it doesn't have the 'exclude' parameter:

    <?php wp_list_cats('exclude=1,2,3'); ?>

    If it doesn't, then try:

    <?php wp_list_cats('hide_empty=0'); ?>

    This forces displaying of all categories, empty or not. If the missing categories show up with this, then WP for some reason sees them as *empty*.

  6. JasonMock
    Member
    Posted 9 years ago #

    That finally did it. So yea, for some reason WP see's a category as being empty, while clicking on a category will give you posts. I only add categories as it makes sense, so... Thank you very much for the help... also falls under the fact that I just really need to get a deeper understanding of the wp code...

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.