I figured it out. Setting ‘relation’ to ‘OR’ is important.
<?php $myquery['tax_query'] = array(
'relation' => 'OR',
array(
'taxonomy' => 'category',
'terms' => array('home-slides'),
'field' => 'slug',
),
array(
'taxonomy' => 'miss_behave_category',
'terms' => array('home-slides-1'),
'field' => 'slug',
),
array(
'taxonomy' => 'emily_category',
'terms' => array('home-slides-2'),
'field' => 'slug',
),
);
query_posts($myquery);
?>
Related Posts:
- List all the tags from a custom post type
- How to Make a Separate RSS Feed for Each Custom Post Type
- Registering custom taxonomy with unique name, a good practise?
- custom post type and custom taxonomy permalink
- get_query_var() not working in pre_get_posts
- When we register a custom taxonomy or post type, does the WP database modified at all?
- Dynamic taxonomy in permalink made all other posts NOT FOUND?
- How do I create multiple post types in same menu section in WP-admin?
- WordPress Search documentation: how to improve search query using taxonomy terms, custom meta fields?
- custom post type taxonomies UI radiobuttons not checkboxes
- Custom Post Type Archive Template
- Order posts by (hierarchical custom) taxonomy terms and term children
- Filter get_categories() for taxonomy term in WordPress
- Custom search for custom post type, custom meta and search fields
- Taxonomy-{taxnonomy}.php is not working
- Add the .html extension to custom post types
- After deleting a post are terms, and custom meta deleted?
- Show metabox in custom-post-template depending on taxonomy term?
- How to add custom fields to admin UI and REST API response?
- Custom Permalink for Taxonimie and Custom Post Type
- Adding the taxonomy before the custom post type
- How to filter the taxonomy terms based on another taxonomy term
- Custom Taxonomy term archive template
- how can i get posts from custom post type particular taxonomy category
- Permalink Structure CPT With Custom Taxonomy Fails
- Conditionally custom post type url rewrite
- How do I create filters for custom post types?
- Root slug of taxonomy returning 404
- Multiple portfolios and single item in two of them (ideas?)
- Pagination for Custom Taxonomy Page [duplicate]
- Display custom post type category, while in a CPT category, then the posts beneath
- Why are taxonomy terms not saving when using custom meta boxes with radio button taxonomy selectors?
- Hide post navigation if current post is in a category with only one post
- I want to change the word “Tags” in WordPress to something else, but how?
- How to have this permalink structure: post_type/postname/custom_inner_page
- Set post terms for multiple posts
- How can I get this request to use the Custom Post Type page template instead?
- Include custom taxonomy term in search
- Why is my WP_Query outputting my entries twice?
- How to display Related Posts based on number of taxonomy terms matched
- How to solve this custom post type goes to 404 page?
- Get term name without a foreach loop
- custom post type and custom taxonomy
- Custom Post Type with Custom Taxonomy as Category
- WP_Query() with custom post type and taxonomy — get all terms?
- Get custom post type categories to show up in menus
- Custom Type add Transitions
- How do I get the custom category URL from the custom post type?
- Display a post from custom post type only if all the selected taxonomies and custom field value matches the record
- How to loop through custom taxonomies and sub taxonomies and display posts?
- Custom post type name and assigning custom taxonomy
- Building a Portfolio and need some direction
- Custom Post Type Custom Archive Page Not Working
- Enabling permalinks disables custom page template
- Getting custom taxonomy posts on archive page
- Query Custom Post Type by Taxonomy
- WordPress custom taxonomy page
- Related “custom post type” using “custom taxonomy”
- How to create Custom Taxonomy Search Drop Down for specific Post Type
- Can I set the post_type query_var as a link is clicked?
- How do I disable the built-in editor and automatically configure the properties of new pages?
- How to have multiple search result pages in wordpress with taxonomy terms listed
- Remove cpt slug from url and use custom taxonomy instead breaks all other cpt
- Set priority to permalinks
- How to list posts by terms
- Changing CPT permalink
- Custom post type structure + permalink structure
- CPT UI: Connect a custom post type to a custom post type
- List posts of custom post type under category name
- Custom post type and taxonomy same slug
- How to structure a website with custom post types and custom taxonomies?
- Single taxonomy for different custom post types
- The most recent post of custom taxonomy
- Display a Custom Post Type within another with hierarchically slug
- Problems with the WP_Query query for a Custom post type
- Custom Post Type rewrite url to /category/pagetitle [duplicate]
- Custom Post Type Taxonomy – Permalinks generating, but posts not found
- Decrement term in for each
- Display Taxonomy Term for CPT on single-CPT.php
- WordPress custom post type advise
- Custom Post Type and Taxonomies, creating the corresponding template file and loop the data
- Generating List of Tags from Custom Post Type
- Post data in separate divs with incrementing class using WP_Query
- Custom Taxonomy List, Selection floats to top
- Get term_id for each instance of custom taxonomy
- Customize category URL
- How to list groupings and keep pagination
- Custom Post Types and Taxonomies
- install.php Custom Taxonomy Term not being added to custom post
- How to retrieve taxonomy terms of the current custom post?
- Custom Taxonomy in Permalink from post type
- How to add taxonomy in menus?
- WordPress and Unity high scores table
- Custom post type with new taxonomy [duplicate]
- Custom post type / Filter by letter
- Custom Taxonomy Tags and Category using same slug
- WP Query Conditionally query meta and taxonomy
- Custom Taxonomy rewrite rule working for everything other than singles
- Admin user get message higher level of permission to edit taxonomy
- Have Custom Taxonomy Slug Fall Under Custom Post Type Slug