Guest User

cvl search results page

a guest
Jul 3rd, 2019
75
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php get_header(); ?>
  2. <?php
  3. <main id="primary" class="site-content search-php" role="main">
  4. <?php
  5. if ( have_posts() ) : ?>
  6.  
  7. <header class="page-header">
  8. <h1 class="page-title"><?php griddle_search_results_title(); ?></h1>
  9. </header><!-- .page-header -->
  10. <?php get_search_form(); ?>
  11. <?php
  12. /* Start the Loop */
  13. while ( have_posts() ) : the_post();
  14.  
  15. get_template_part( 'partials/content', 'list' );
  16.  
  17. endwhile;
  18.  
  19. echo '<!--the posts navigation-->';
  20. the_posts_navigation( array(
  21. 'prev_text' => __( 'More', 'textdomain' ),
  22. 'next_text' => __( 'Back', 'textdomain' ),
  23. ) );
  24.  
  25. else :
  26. get_template_part( 'partials/content', 'none' );
  27.  
  28. endif; ?>
  29.  
  30. </main><!-- #primary -->
  31.  
  32. <?php
  33. get_sidebar();
  34. get_footer();
  35. ?>
RAW Paste Data