Trying to exclude category from sidebar... (4 posts)

  1. adrigen
    Posted 8 years ago #

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

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

  2. alangnw
    Posted 8 years ago #

    Why do you have the category there in the first place if not using it? Perhaps I'm misunderstanding too?

  3. Asuka_Aki
    Posted 8 years ago #

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

  4. danielwalters6
    Posted 7 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic