< ?php if ( have_posts() ) : ?> < ?php shape_content_nav( 'nav-above' ); ?> < ?php /* Start the Loop */ ?> < ?php while ( have_posts() ) : the_post(); ?> < ?php get_template_part( 'content', 'search' ); ?> < ?php endwhile; ?> < ?php shape_content_nav( 'nav-below' ); ?> < ?php else : ?> < ?php get_template_part( 'no-results', 'search' ); ?> < ?php endif; ?>