• on sidebar.php I have changed
    <?php wp_list_categories('show_count=1&title_li=<h2>Categories</h2>'); ?>
    to

    <?php wp_list_categories('show_count=1&exclude=11&title_li=<h2>Categories</h2>'); ?>

    Is this the right way to go about omitting category 11 from the list? Or am I misunderstanding something?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Why do you have the category there in the first place if not using it? Perhaps I’m misunderstanding too?

    I have the same problem. I have to sidebars and would like a different category list in each of them. Is taht possible?

    I’m looking for a way to just display PARENT categories on the home page, and only show child categories, when users have gone into the main parent ones….

    Does anyone know of a way to do this?

    Thank you for your help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Trying to exclude category from sidebar…’ is closed to new replies.