[Resolved] mashup with tax_query not working on 1.3.1
Hi 🙂 I just encountered a very interesting problem. The following code works fine upto 1.3, but it doesn’t work on 1.3.1.
$args1 = array ( 'post_type' => 'faculty', 'posts_per_page'=> -1, 'tax_query' => array( array( 'taxonomy' => 'divisions', // This is the CPTnomies related taxonomy 'field' => 'term_id', 'terms' => $term->term_id )), 'faculty_type' => 'division-director' // This is a custom taxonomy for custom post type faculty );
This code works perfectly fine upto 1.3. On 1.3.1, i couldn’t get this to work, even after having both taxonomies with a ‘relation’ => ‘AND’ query between the two tax queries.
Somehow on 1.3.1, i can’t seem to create a relation between custom taxonomy and a cptonomies taxonomy!
- The topic ‘[Resolved] mashup with tax_query not working on 1.3.1’ is closed to new replies.