Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * The template for displaying Search Results pages.
- *
- */
- $s = bsearch_clean_terms(apply_filters('the_search_query', get_search_query()));
- ?>
- <div class="no-image-header-wrap">
- <?php get_header(); ?>
- </div>
- <br/>
- <br/>
- <br/>
- <div class="row search-again-page">
- <section id="primary">
- <div id="content" role="main">
- <header class="page-header">
- <?php if($s) :?>
- <h1 class="page-title"><?php printf( __( 'Search:: %s' ), '<span>' . get_search_query() . '</span>' ); ?></h1>
- <?php else:?>
- <h1 class="page-title"><?php printf( __( 'Search' ) ); ?></h1>
- <?php endif;?>
- </header>
- <br/>
- <br/>
- <?php $form = get_bsearch_form($s);
- echo $form; ?>
- <?php echo get_bsearch_results($s,$limit); ?>
- <?php if ( function_exists('FoundationPress_pagination') ) { FoundationPress_pagination(); } else if ( is_paged() ) { ?>
- <nav id="post-nav">
- <div class="post-previous"><?php next_posts_link( __( '← Older posts', 'FoundationPress' ) ); ?></div>
- <div class="post-next"><?php previous_posts_link( __( 'Newer posts →', 'FoundationPress' ) ); ?></div>
- </nav>
- <?php } ?>
- </div><!-- #content -->
- </section><!-- #primary -->
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement