Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php get_header(); ?>
- <?php
- <main id="primary" class="site-content search-php" role="main">
- <?php
- if ( have_posts() ) : ?>
- <header class="page-header">
- <h1 class="page-title"><?php griddle_search_results_title(); ?></h1>
- </header><!-- .page-header -->
- <?php get_search_form(); ?>
- <?php
- /* Start the Loop */
- while ( have_posts() ) : the_post();
- get_template_part( 'partials/content', 'list' );
- endwhile;
- echo '<!--the posts navigation-->';
- the_posts_navigation( array(
- 'prev_text' => __( 'More', 'textdomain' ),
- 'next_text' => __( 'Back', 'textdomain' ),
- ) );
- else :
- get_template_part( 'partials/content', 'none' );
- endif; ?>
- </main><!-- #primary -->
- <?php
- get_sidebar();
- get_footer();
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement