$args = array(
'post_status' => 'publish',
'tax_query' => array(
'taxonomy' => 'categories name',
'field' => 'id',
'term' => 'category id'
)
);
$the_query = wp_query($args);
$args = array(
'post_status' => 'publish',
'tax_query' => array(
'taxonomy' => 'categories name',
'field' => 'id',
'term' => 'category id'
)
);
$the_query = wp_query($args);