I need to update the post query? [closed]
You should use tax_query. $args = [ ‘posts_per_page’ => 10, ‘post_type’ => ‘post’, ‘post_status’ => ‘publish’ ‘tax_query’ => array( array( ‘taxonomy’ => ‘state’, ‘field’ => ‘slug’, ‘terms’ => ‘minnesota’, // lowercase m ), ];