'post', 'posts_per_page' => 6, 'post_status' => 'publish', 'no_found_rows' => 1, 'ignore_sticky_posts' => 1, ); if (!empty($cat_highlight_post_category)) : $cat_highlight_args_1['tax_query'] = array( array( 'taxonomy' => 'category', 'field' => 'term_id', 'terms' => $cat_highlight_post_category, ), ); endif; $count = 1; $right_count = 1; $cat_highlight_post_1 = new WP_Query($cat_highlight_args_1); if ($cat_highlight_post_1->have_posts()) : while ($cat_highlight_post_1->have_posts()) : $cat_highlight_post_1->the_post(); ?>
current_post + 1 == $cat_highlight_post_1->post_count) { ?>