Archived
38 lines
685 B
PHP
38 lines
685 B
PHP
<?php
|
|
/**
|
|
* The template for displaying Search Results pages.
|
|
*
|
|
* @package Decode
|
|
*/
|
|
|
|
get_header(); ?>
|
|
|
|
<section id="primary" class="content-area">
|
|
<main id="main" class="site-main" role="main">
|
|
|
|
<?php if ( have_posts() ) : ?>
|
|
|
|
<header class="page-header">
|
|
<?php get_search_form(); ?>
|
|
</header><!-- .page-header -->
|
|
|
|
<?php /* Start the Loop */ ?>
|
|
<?php while ( have_posts() ) : the_post(); ?>
|
|
|
|
<?php get_template_part( 'content', 'search' ); ?>
|
|
|
|
<?php endwhile; ?>
|
|
|
|
<?php else : ?>
|
|
|
|
<?php get_template_part( 'content', 'none' ); ?>
|
|
|
|
<?php endif; ?>
|
|
|
|
</main><!-- #main -->
|
|
|
|
<?php decode_paging_nav(); ?>
|
|
|
|
</section><!-- #primary -->
|
|
|
|
<?php get_footer(); ?>
|