Advertisement
Guest User

Untitled

a guest
Apr 14th, 2014
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.31 KB | None | 0 0
  1. <?php
  2. /**
  3.  * The template for displaying Search Results pages.
  4.  *
  5.  */
  6. $s = bsearch_clean_terms(apply_filters('the_search_query', get_search_query()));
  7.  ?>
  8.  
  9. <div class="no-image-header-wrap">
  10.   <?php get_header(); ?>
  11. </div>
  12.  <br/>
  13.   <br/>
  14.   <br/>
  15. <div class="row search-again-page">
  16.   <section id="primary">
  17.     <div id="content" role="main">
  18.       <header class="page-header">
  19.         <?php if($s) :?>
  20.         <h1 class="page-title"><?php printf( __( 'Search:: %s' ), '<span>' . get_search_query() . '</span>' ); ?></h1>
  21.       <?php else:?>
  22.         <h1 class="page-title"><?php printf( __( 'Search' ) ); ?></h1>
  23.       <?php endif;?>
  24.       </header>
  25.       <br/>
  26.       <br/>
  27.       <?php $form = get_bsearch_form($s);
  28.       echo $form; ?>
  29.       <?php echo get_bsearch_results($s,$limit); ?>
  30.       <?php if ( function_exists('FoundationPress_pagination') ) { FoundationPress_pagination(); } else if ( is_paged() ) { ?>
  31.           <nav id="post-nav">
  32.             <div class="post-previous"><?php next_posts_link( __( '&larr; Older posts', 'FoundationPress' ) ); ?></div>
  33.             <div class="post-next"><?php previous_posts_link( __( 'Newer posts &rarr;', 'FoundationPress' ) ); ?></div>
  34.           </nav>
  35.         <?php } ?>
  36.     </div><!-- #content -->
  37.   </section><!-- #primary -->
  38. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement