How can I have to set tax_query to get results like 'category__in' => array()?
Specifically, I would like to show all the posts that have a term from the city taxonomy with one of these id's: $cities = array(23,34,45,56);
This is the code I currently use.
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
$args = array(
'meta_query' => array(
array(
'key' => 'mar_bedrooms',
'value' => $bedroomss,
'compare' => 'IN'
),
array(
'key' => 'mar_property_for',
'value' => $property_forss,
'compare' => 'IN'
),
array(
'key' => 'mar_price',
'value' => array( $price_min, $price_max ),
'type' => 'numeric',
'compare' => 'BETWEEN'
)
),
'post_status'=>'publish',
'post_type'=>'post',
//'cat' => 1,
'category__in'=> $type,
//'taxonomy__in'=> $city,
'orderby'=>'date',
'order'=>'DESC'
);
query_posts($args);
if ( have_posts() ) {
the_post();
$a = 1;
}