'post',
'posts_per_page' => get_option_posts_per_page(),
'orderby' => !is_index_sort_orderby_date() ? get_index_sort_orderby() : 'date',
'order' => 'DESC',
'cat' => $cat_id,
'category__not_in' => get_archive_exclude_category_ids(),
'post__not_in' => get_archive_exclude_post_ids(),
'no_found_rows' => true,
);
$args = apply_filters('list_category_tab_args', $args, $cat_id);
$query = new WP_Query($args);
if ($query->have_posts()):
?>
have_posts()):
$query->the_post();
$count++;
set_query_var('count', $count);
cocoon_template_part('tmp/entry-card');
endwhile;
wp_reset_postdata();
?>