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
- list taxonomies from a custom post type
- Display a grid of taxonomy terms at root taxonomy page
- Show child custom post types list inside single parent custom post type
- limit value taxonomy based on previous taxonomy value wordpress
- page menu entry for custom post type
- Several post types on WP Query by tag and taxonomy
- Using meta_query and tax_query at the same time
- How to display custom WP menus?
- How do I display the taxonomy for a custom post type in an array
- Set a CPT slug as a base name for all the taxonomies
- How to conditionally redirect to the post from a taxonomy page?
- How do I check if the user is on a taxonomy term parent, child or grandchild page?
- How do I display the grand child items of a taxonomy term?
- Taxonomies relations
- Is it better to use WordPress Custom Post Types or Taxonomies?
- Full Custom Post Type List Organised by two Taxonomies
- WordPress Doesn’t Generate Taxonomy Archive
- Suggested Post and Taxonomy structure
- Custom post with more than one custom taxonomy
- Get the taxonomy of a post hierarchically
- Adding custom taxonomy in same menu place with two custom post types
- How to make custom taxonomy into drop down select in a custom metabox
- Multiple pages for posts?
- Display latest x posts from all categories in Custom Post Type/Taxonomy
- Is there a way to establish parent/child relationship in WP menu links exclusively?
- How to get list of taxonomy slugs ordered parents>childs?
- Use custom walker to add taxonomy terms to main nav menu
- A page that shows a list of a specific custom post type
- Conditional statement for if archive page has posts which contain certain taxonomies/categories/tags, show those terms
- How do I share categories across multiple post types?
- How to organize hierarchical structure in custom post type with taxonomy (like with categories)
- Multiple tag cloud filtering
- Get url.com/post_type/taxonomy/term work!
- How to display products name in a non-alphabetical order, in a custom field (taxonomy)?
- Taxonomy in URL
- Single custom post type’s menu ancestor/parent is Posts archive page
- How to organise this data within WordPress
- Organize WordPress site, so it can maintain with huge database
- menu link to custom post_type?
- Filter get_cat_id for Custom Post Type
- Different Category system needed for the Custom Post Type
- Custom Post Types in the WordPress Navigation Menu
- Custom Post Type Category Link
- Custom Post type category pages template and loop
- Redirect to another page using contact form 7? [closed]
- Output terms for custom post types
- Linking from CPT page to taxonomy.php
- Page not found for custom post type UI plugin and taxonomy
- Unable to link categories to custom post type using standard function
- How to Set Taxonomy Object Description?
- Categories and tags for custom post types
- Custom Post Type & Custom Menu Walker to append custom class for active post types
- Custom select query for taxonomies that have posts categorized in another taxonomy
- Ordering Submenu Pages in WP 3.1
- Including link to custom post type in ‘wp_list_pages’ function
- Enable taxonomies by post type in an array of CPTs
- How to assign tag to custom post type in wordpress?
- Custom Taxonomy Is Being Pulled into a Page, But It Doesn’t Have A Hyperlink
- Querying two taxonomies with tax_query not woking
- Rename a slug label
- Custom Taxonomy Category link
- Which Template Page Should I Use?
- Get Post Terms of Current Post (selected taxonomy term) – How to get only the taxonomy value and not “Array ( [0] => taxonomy term )” in the frontend?
- How to get all Custom Post Type Filtered by one Specific Taxonomy Term
- How can i automatically add CPT single pages as sub menu items
- Hide specific taxonomies from a taxonomy list using ‘get_object_taxonomies’
- How does the ‘the_post_navigation()’ work for CPT’s?
- How can I use archive-{post_type}.php theme template?
- Custom post type – list posts based on meta_key and display them divided by CPT taxonomy category
- Custom taxonomy (categories) on custom post type return no results
- Filter second dropdown (tax) based on first dropdown (cpt)
- Custom Post Type Link added to menu won’t show in frontend
- Variable not working in WP_Query
- Hide meta box for everything BUT a certain custom post type
- Archive-posttype.php isn’t loaded
- get_category_link() for custom post type does not include custom slug rewrite?
- Add tags to custom post type without menu link
- How To Display A List Of CPT Posts In A Meta Box On Menus Page?
- Targeting categories in custom fields
- Get custom post type categories to show up in menus
- show current item in custom menu, when inside a custom post type
- Associate all Custom Post Types with Taxonomy
- How to define a term for custom taxonomy
- Invalid Taxonomy
- List custom taxonomy as navigation – taxonomy pages with all it’s posts?
- Need help deciding on a taxonomy
- Alphabetically sort a taxonomy.php template by post title
- WordPress menu with custom taxonomy
- Prevent custom post type from showing up in custom menus
- Custom Post Types not queried in Custom Taxonomy archives or Native archives
- I need to add a filter to prepend the term ‘National – ‘ to the post title if the post is tagged to multiple states
- Query all post and CPT from 2 specific taxonomies AND by ACF custom field