I am having problems with wp_query using a regular taxonomy and cpt-onomy taxonomy in the same query here is the code:
$tax_query = array( 'relation' => 'AND', array( 'taxonomy' => 'moviola_status', 'field' => 'slug', 'terms' => 'free' ), array( 'taxonomy' => 'moviola_webinar', 'field' => 'id', 'terms' => $post->ID ) );
moviola_webinar is the cpt-onomy and works great with and without the second tax query. When I introduce the moviola_status tax_query I only get results from the moviola_webinar. When I look into the actual query from wp_query it does not include moviola_status anywhere. It only shows text for the cpt-onomy and not the normal custom taxonomy.
Any help would be appreciated.
- The topic ‘Using Multiple Tax Queries’ is closed to new replies.