Im using multiple taxonomy query to get relevant posts
$tax_query[] = array(
'taxonomy' => 'transfer_type',
'field' => 'id',
'terms' => $page_terms['type_term'],
'include_children' => false
);
$tax_query[] = array(
'taxonomy' => 'area',
'field' => 'id',
'terms' => $page_terms['area_term'],
'include_children' => false
);
$args = array(
'post_type' => 'category_description',
'tax_query' => $tax_query
);
$description_post = get_posts($args);
When a post is tagged with transfer_type and an area there is no problem, But when a post is only tagged with one of them the results are wrong.
I basically (in some cases) want to exclude all posts that have an "area" or "transfer_type" and get only those that meet up with the other.
is it possible ?