Support » How-To and Troubleshooting » Not all categories listed…

Not all categories listed…

  • 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?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Do the missing categories have posts in them?

    Yes they do…

    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

    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*.

    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…

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Not all categories listed…’ is closed to new replies.