gp
// WP_Query arguments $args = array( 'post_type' => array( 'metro-gallery' ), 'post_status' => array( 'published' ), 'tax_query' => array( 'relation' => 'AND', array( 'taxonomy' => 'photos_category', 'terms' => '34', 'field' => 'term_id', 'operator' => 'AND', ), ), ); // The Query $query = new WP_Query( $args );