'post', 'tax_query' => array( array( 'taxonomy' => 'category', 'field' => 'term_id', 'terms' => $category_id, ), ), ); $query = new WP_Query($args); if ( $query->have_posts() ): ?>
have_posts()) : $query -> the_post(); ?>