See Taxonomy Parameters in Codex.
First — areas should probably be in your tax_query
as well.
Second — you probably need to make use of operator
argument in queries (inner ones). I am not sure without testing this out but AND
seems like it would for more strict matches than default IN
for your mandatory types/features logic.
Related Posts:
- Custom Taxonomy and Tax_Query
- Advanced Tax Query
- Improving WP_Query performance for multiple taxonomies
- check if a taxnomy queried in $wp_query?
- WP_Query tax_query – Show results if child has parent X
- Query custom taxonomy for category including children
- “tax_query” parameter not working with WP_Query
- How do I exclude a custom taxonomy from the post loop
- How to add images to taxonomies?
- Using WordPress to make a “Product Search” type navigation drilldown
- How to modify the query in taxonomy-custom.php to sort term archives by a custom meta field?
- Custom Taxonomy not working with posts_per_page in new WP_query (pagination problem)
- display posts with same taxonomy term
- Including all terms in wordpress tax_query
- How to get first post in a category of a custom taxonomy
- SQL QUERY needed to get POST category (taxonomy) ? – MUST be SQL statement
- search query within custom taxonomy term, post title and meta field
- Custom archive page based on array of categories and tags
- wp query with multiple taxonomy?
- wp_query orderby title and meta key value (WP3.1)
- Page queried instead of a custom taxonomy
- Custom WP_Query breaks default behaviour of viewing right post associated with tax-term!
- Adding session variable and/or cookie based on user-selected input
- Excluding a custom taxonomy term breaks wp_get_post_terms
- why do drafts return as part of wp_query?
- tax_query shows no results if nothing is selected
- How can I display all post IDs from the taxonomy?
- Get ID and slug from taxonomy object
- WP Query with custom taxonomy
- how to search in custom fields & custom taxonomy for custom search
- How to display custom taxonomy in multiple columns?
- Custom taxonomies making WP very slow – Way to fix?
- How to count the number of terms in a taxonomy
- Query Custom Post Type Order By Taxonomy Field
- Sorting taxonomy columns by meta value numeric
- Get Taxonmy Term ID For Current Post
- WP_Query on custom taxonomy works fine but fails if run through wp_ajax_
- Display sub categories and their data of a taxonomy
- Display only first level children of my custom taxonomy categories
- Is it possible to get all term items from a custom taxonomy regardless of post attachment status?
- How do I Use Multiple Loops with WP_Query?
- Changing stylesheet depending on custom taxonomy terms
- cannot get multiple loops using tax_query
- How do I taxonomy terms based on terms they are used alongside?
- Get posts by term slug only
- Selecting all posts from the children of a particular parent taxonomy
- WordPress loop: Show only a Custom Post Type Taxononmy TERM
- Add Custom Taxonomy for Blog Meta Info
- WordPress query with items from more than one selfdefined taxonomy as `term` argument
- Getting associated taxonomies
- Hiding taxonomies with no children WP_Query & tax_query
- Can I use OR relation for one item when calling tax_query from WP_Query and use AND for the rest?
- How to fetch the data from Advanced Custom post when we search specific keyword or field name related to the post?
- querying posts by custom taxonomy terms right from a querystring based URL
- Custom taxonomy.php not working
- get all posts associated with a custom taxonomy
- When filtering query on custom taxonomy; main menu dissapears
- How to add images to taxonomy terms? [duplicate]
- wp_query not resetting, last post hanging
- Using WP_Query and Query_post for the loop?
- Problem with wordpress pagination
- How to do a particular wp_query taxonomy search
- one post per term taxonomy
- Show only the sub-categories (and their content) of the current custom taxonomy with ‘taxonomy.php’
- Using Advanced Custom Fields Relationship Field to select a taxonomy term
- Taxonomy.php how to show post only in current taxonomy with wp_query?
- how to use tax_query to apply both terms or one if one is empty
- Get current page term title to use in WP_Query
- passing moree than one value of slugs in taxonomy using variable
- How to get related taxonomies based on a category with mysql query?
- Custom Taxonomies Archive Page 404
- list all post who have mutual taxonomy as current taxonomy!
- WordPress taxonomy terms archive template help
- Taxonomy archive, categorised by other taxonomy, not hiding empty taxonomies
- Taxonomy Terms That Don’t Exist Display Results
- List active taxonomy terms
- taxonomy query on front page
- Custom loop – Isolating post meta output depending on current query taxonomy terms
- How do you search for a post by custom taxonomy?
- tax_query showing no results
- How do you move custom fields to custom taxonomies using WP Queries
- WordPress hiding posts without content on custom taxonomy query. How to solve?
- Run next query based on first query’s term
- Get the original menu item name string instead of the label
- How to use tax_query other than by slug or id or solve custom taxonomy tags conflicts with pre-existing tags?
- Order posts with custom taxonomy array
- Getting grandchildren of a post with a specified custom taxonomy?
- Taxonomy Parameters in WP Query to get posts from two different taxonomies
- Adding a query var to taxonomy term archive – gets redirected to the other taxonomy archive page
- Advanced AND tax_query in sidebar with 2 taxonomies
- How to query posts that are not related to any term of a taxonomy?
- WordPress Taxonomy Menu
- Primary Taxonomy for Post
- Get taxonomy image for Toolset custom taxonomy through Toolset Views Shortcode
- List posts grouped by children of a custom taxonomy
- Hook to filter based on form value and insert term
- Complex Taxonomy scheme
- Querying posts globally based on custom taxonomy with its own taxonomymeta table
- Loop posts without any taxonomy
- Foreach for get_the_terms for hierarchical taxonomy don’t repeat Top Level Terms if contains multiple Second Level Terms