'page', 'orderby' => 'post__in', 'post__in' => array( get_theme_mod( 'aaron_top_section1' ), get_theme_mod( 'aaron_top_section2' ), get_theme_mod( 'aaron_top_section3' ), ), ); $top_section_query = new WP_Query( $args ); if ( $top_section_query->have_posts() ) { while ( $top_section_query->have_posts() ) : $top_section_query->the_post(); get_template_part( 'content', 'page' ); endwhile; wp_reset_postdata(); } } } /* This is the end of our top page section. Now lets show the latest posts: */ if ( have_posts() ) : ?> 'page', 'orderby' => 'post__in', 'post__in' => array( get_theme_mod( 'aaron_bottom_section1' ), get_theme_mod( 'aaron_bottom_section2' ), get_theme_mod( 'aaron_bottom_section3' ), ), ); $bottom_section_query = new WP_Query( $args ); if ( $bottom_section_query->have_posts() ) { while ( $bottom_section_query->have_posts() ) : $bottom_section_query->the_post(); get_template_part( 'content', 'page' ); endwhile; wp_reset_postdata(); } } } ?>