<?php endif; ?>
-
- <?php if ( have_posts() && strlen( trim(get_search_query()) ) != 0 ) : ?>
-
- <?php
- /* Start the Loop */
- while ( have_posts() ) : the_post();
-
- /**
- * Run the loop for the search to output the results.
- * If you want to overload this in a child theme then include a file
- * called content-search.php and that will be used instead.
- */
- get_template_part( 'parts/content-search' );
-
- endwhile;
-
- the_posts_navigation();
-
- else :
-
- get_template_part( 'parts/content-none' );
-
- endif; ?>
+ <?php get_template_part( 'parts/content-none' ); ?>
</main><!-- #main -->
</section><!-- #primary -->