Support » Plugins » Exclude category from archive droplist

Viewing 4 replies - 1 through 4 (of 4 total)
  • if you category list is being created with wp_list_categories, you can do something like this:


    The only part of that line you need to add to your existing code is the
    &exclude=10 where 10 stands for the category id you want to exclude. Just add that phrase onto the options that are already in the wp_list_categories line.


    Doesnt seem to be working. I am using a get_archives though

    This is what I have:

    <form id="archiveform" action="">
    <label>Browse Archives</label>
    <select name="archive_chrono" onchange="window.location =
      <?php wp_get_archives('type=monthly&format=option&show_post_count=1&exclude=5'); ?> 	</select>

    Any other ideas?

    Ive got the same problem but get archives doesnt support a cat exclude function, this is supposed to solve it but i cant get it to work

    I got’s category plugin to work without issue. Perhaps it is conflicting with one of your other plugins?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Exclude category from archive droplist’ is closed to new replies.