The way that I would approach it is using the tax_query to create a query that looks for both the correct genre and type. For example, to query all Movies that are Drama:
$myquery['tax_query'] = array(
array(
'taxonomy' => 'genre',
'terms' => array('drama'),
'field' => 'slug',
),
array(
'taxonomy' => 'type',
'terms' => array('movie'),
'field' => 'slug',
),
);
query_posts($myquery);
Hopefully that will get you started in the right direction.
Related Posts:
- Creating “static” taxonomies to choose from, inside custom post type?
- Menu Multiple Taxonomies
- Using default WP menu functionality to link to custom post-type listing?
- How can I create an automatic drop down menu with my tags?
- Menu for taxonomies and posts belongs to taxonomy
- Custom post type category link + add to menu
- Custom Post Type parent slug as menu item
- List all posts from custom post type by taxonomy
- Custom Taxonomy as checkbox or dropdown
- Custom Taxonomy as Dropdown in admin
- Now can I group custom post types together?
- Retrieve single term slug
- How to set individual capabilities on a taxonomy? Or how to re-register an existing taxonomy?
- Query multiple taxonomy in Custom Post Type
- Custom Post Type: How to display all of same taxonomy?
- Which User Role for Custom Post Type Menu – wp_nav
- Remove “-2” from a Toolset Types URL with the same post name
- Create Custom Post Type Archive Page with Sub Categories Navigation Sidebar
- List all custom post type posts from a given category?
- Use the_taxonomies() to create a simple list
- Custom post type with specific category structure
- Why are navigation items saved in the database?
- Permalinks for Taxonomy and Custom Post Type
- Custom Post Type and Taxonomy combination
- ‘Pages’ widget alternative for custom post types?
- Exclude specific taxonomy term when using wp_get_post_terms
- Get Post Primary Category
- How to check the terms in single custom post type template
- How can I move a custom taxonomy and its data from one post type to another?
- Custom Taxonomies not appearing in Admin
- How do I do this with WordPress? Taxonomies?
- Can taxonomies of custom post types be used with category actions?
- Set a CPT slug as a base name for all the taxonomies
- Taxonomies relations
- WordPress Doesn’t Generate Taxonomy Archive
- Adding custom taxonomy in same menu place with two custom post types
- Multiple pages for posts?
- How to organize hierarchical structure in custom post type with taxonomy (like with categories)
- Organize WordPress site, so it can maintain with huge database
- Filter get_cat_id for Custom Post Type
- Redirect to another page using contact form 7? [closed]
- Including link to custom post type in ‘wp_list_pages’ function
- Custom taxonomy (categories) on custom post type return no results
- get_category_link() for custom post type does not include custom slug rewrite?
- Add tags to custom post type without menu link
- WordPress menu with custom taxonomy
- Rewrite custom post type with taxonomy
- My custom taxonomy is only displaying 1 of 3 terms
- Sort results without WP_QUERY?
- Categories won’t appear on custom post type
- Custom Post Type Taxonomy Term Order by Title
- Using page title as a link to term archive
- How to display posttypes and taxonomy in standard posts, not in a separate label?
- highlight parent page menu item when in custom post type
- Custom post type post in custom menu
- Displaying taxonomies as category links within sidebar and creating pages for these
- Get List of Terms based on a given term (different taxonomy)
- Question about link two types of data in wordpress
- Add Tags to a Custom Post Type from a FrontEnd Form
- CPT : Next or Previous term link when has not adjacent post
- Get the taxonomy value in the post loop inside the archive page
- Custom post type archive URLs with a single taxonomy
- How to show related posts of category on post within custom posttype
- wp_set_object_terms creates taxonomies but does not add custom posts to it
- Display Custom Post Type Based on Taxonomy With WP_Query()
- WP_Query for custom taxonomies showing posts from non-specified terms?
- Archive for custom taxonomy
- Listing all custom posts having a specific taxonomy whatever the terms
- Convert attribute woocommerce terms (taxonomy terms) in posts of custom post type
- How to Use A Custom Post Type as Taxonomy for Another Custom Post Type
- Display custom tax in “while” loop
- Taxonomy template file not working with a taxonomy that contains a slash
- I can not call the categories of custom post type
- Showing taxonomies with terms that are attached to custom post
- Possition a Custom Post Type Tab under Settings
- Custom Taxonomy page redirecting to 404 page
- Changing an item in drop down after 5 latest posts per taxonomy
- Query for a custom post taxonomy
- Update Cateogory Taxonomy Count for Attachment Post Type
- Displaying WordPress posts from post and custom post type in custom taxonomy
- Custom post type taxonomy template and URL confusion
- Custom Taxonomy is disabled on Edit page
- Override “Parent” input for custom taxonomy
- Custom Post Type Categories Not Maintaining URL structure any more
- Best way to structure article and issue relationship for CPT
- Connecting multiple post types? Or linking “News” posts with “Game” posts how?
- Custom Post Type used for FAQs Accordion
- Sort by Custom Post Type (Multiple Loop)
- Check if taxonomy is attached to at least one post in a post-type
- Getting (Invalid) when adding custom taxonomy of custom post type link in menu [closed]
- How to make an admin create/edit post page to look like taxonomy page?
- Looping taxonomy in taxonomy?
- Custom posts and custom taxonomies for many products and categories?
- get_the_term_list() wanting to loop through the returned values
- Displaying child taxonomies
- How do i get the taxonomy term name on the CPT archive page?
- Menu Structure and URL structure, with Pages and Post-Type-Posts
- Is there a function that replace category name with a icon?
- Show custom category archive as front page and remove taxonomy slug from urls
- How can I rename custom taxonomy if multiple custom post type have the same taxonomy name?