WordPress.org

Ready to get started?Download WordPress

Forums

Hey people, small question (3 posts)

  1. piotr82
    Member
    Posted 8 years ago #

    Hey i use this in sidebar to make a menu with category :

    <?php wp_list_cats('sort_column=name&optioncount=1&feed=RSS&hierarchical=0'); ?>

    I want to exclude one category from it , how to make this in the simples way ?

  2. bob58
    Member
    Posted 8 years ago #

    You have to set '&exclude=4', where 4 is the id of the category to exclude, look here:
    http://codex.wordpress.org/Template_Tags/wp_list_cats

  3. piotr82
    Member
    Posted 8 years ago #

    thanx alot

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.