0 ) : $featured_query = new WP_Query( array( 'category__in' => array( absint( $hero_category_id ) ), 'posts_per_page' => 3, 'post_status' => 'publish', ) ); if ( $featured_query->have_posts() ) : ?>
have_posts() ) : $featured_query->the_post(); ++$post_count; ?> posts, 'ID' ); wp_reset_postdata(); ?>

5, 'post_status' => 'publish', 'post__not_in' => $featured_post_ids, ) ); if ( $latest_query->have_posts() ) : ?>
have_posts() ) : $latest_query->the_post(); ?>
0 ) { $category_ids[] = $category_1_id; } if ( $category_2_id > 0 ) { $category_ids[] = $category_2_id; } foreach ( $category_ids as $category_id ) : $category = get_category( absint( $category_id ) ); if ( ! $category || is_wp_error( $category ) ) { continue; } $category_query = new WP_Query( array( 'category__in' => array( $category->term_id ), 'posts_per_page' => 3, 'post_status' => 'publish', ) ); if ( $category_query->have_posts() ) : ?>

name ); ?>

have_posts() ) : $category_query->the_post(); ?>