'post', 'cat' => $team_category, 'order' => 'DESC'); $team_query = new WP_Query($team_args); $category = get_category($team_category); $count_category = $category->category_count; ?> have_posts() && $team_category): ?>