[wp-hackers] Custom Taxonomy Query - Select posts with a taxonomy AND none

Mike Little wordpress at zed1.com
Tue Mar 26 09:47:48 UTC 2013

Add terms to your custom taxonomies for "All Segments" and "All Price

Assign those to the appropriate CPT's

Then always add "All segments" to segment search terms, and "all price
bands" to price band search terms.

That will achieve the results you want with exactly the method you are
using now.

Mike Little

More information about the wp-hackers mailing list