Support » Plugins and Hacks » Exclude no longer working

  • joneslloyd



    I believe in the past, the ‘exclude’ (for categories) option was simply inserted into the sidebar.php page like this:

    <?php wp_list_categories(‘title_li=&show_count=0&hierarchical=1&exclude=11’) ?>

    However, it doesn’t work with my version of wordpress.

    Just wondering if anybody knows a way to exclude a category from the sidebar, in a similiar way to this? (ie, has the syntax changed in this version, or something?)

    Any help would be greatly appreciated.


Viewing 3 replies - 1 through 3 (of 3 total)
  • MichaelH


    Using your exact code, it works okay for me, at Version 2.9.1.



    Odd.. I’m using the ‘black hat’ theme, if that’s any reason for it not to work.

    Do you have any idea as to what it may be?

    If not, no problem. I’ll assume that the theme is causing the issue.



    Or a plugin.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Exclude no longer working’ is closed to new replies.