• I’m not sure this is a 2.7 issue or not, but I first noticed it after I upgraded to 2.7 from 2.6.2.

    I have three different category lists on my page to help break things up, which I create by calling wp_list_categories from PHP widges in the sidebar.

    Before, when I used the “exclude” attribute when calling this function, it excluded that category and all it’s children as well. However, that doesn’t appear to be the case anymore.

    I’m calling the function thusly:

    wp_list_categories(‘exclude=25,94&title_li=’);

    And it is indeed excluding categories 25 and 94, but not any of their children, which are still being listed.

    I’m wondering if this is a bug or if there is an new attribute to say “exclude this attribute and all of it’s children” as it would be a pain to have to add a new category for every child category that I create under those two parent categories.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘wp_list_categories exclude doesn’t include children?’ is closed to new replies.