WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to replace the show_option_all (which show all my taxonomies),


a command to show three taxonomies (ID 14, 15, 16) and label this 'all'

Basically, when someone selects 'all' i only want to show the results of the three taxonomies above.

Note: i cant exclude the taxonomy from the search results as it will effect another search form.

Please help!

My current code is: http://pastebin.com/NJi2LQhY



share|improve this question
It would be nice if you can provide an example of how you're using this. The code snippet you provided doesn't really provide context. – WhIteSidE Apr 30 '11 at 10:06

when using show_option_all with wp_dropdown_categories it gets the value of '0' so you can just check using your $_GET['property_types'] if it is '0' you know i'll need to show results of "all ID 14, 15, 16"

share|improve this answer
Hi there, Thanks for responding. Would i be able to use this code: pastebin.com/iXjGcrc3 ? to filter the show option all? Thanks : ) – Paul B May 2 '11 at 8:36

have you read this page from the codex Filter Hierarchy

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.