• Resolved jerkjone

    (@jerkjone)


    I am using

    <?php wp_list_categories('sort_column=name&title_li=&depth=3'); ?>

    To list my categories for my navBar…

    I want to exlude a particular category. (Just one) the name is “Dogs”

    I’ve tried…

    <?php wp_list_categories('sort_column=name&title_li=&depth=3&exclude=Dogs'); ?>

    To no avail. If someone could help me out I would greatly appreciate it. I’ve read all through the include/exclude.. but it just isn’t working for me… :-/

    Thanks!

Viewing 1 replies (of 1 total)
  • Thread Starter jerkjone

    (@jerkjone)

    Okay I got it! Evidently it is a numerical value… not an alpha… used the following…

    <?php wp_list_categories('exlude=1&sort_column=name&title_li=&depth=3'); ?>

    Odd.. but it works… So I’m happy!

Viewing 1 replies (of 1 total)
  • The topic ‘Exclude a category.. not working!’ is closed to new replies.