-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsearch.php
executable file
·32 lines (26 loc) · 1003 Bytes
/
search.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?php get_header(); ?>
<section id="content" role="main">
<header class="section-header">
<div class="container">
<a href="<?php bloginfo('url'); ?>/kb/"><h1>The SHARE Knowledge Base</h1></a>
</div>
</header>
<div class="container">
<div id="main-content" class="main-content">
<header class="header category-header">
<h2 class="entry-title"><?php printf( __( 'Search Results for: %s', 'blankslate' ), get_search_query() ); ?></h2>
<hr />
</header>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<?php get_template_part('entry'); ?>
<?php endwhile;
else :
_e( 'Sorry, nothing matched your search. Please go back and try again.', 'blankslate' );
endif; ?>
<?php get_template_part('nav', 'below'); ?>
</div> <!-- .main-content -->
<?php get_sidebar(); ?>
</div> <!-- .container -->
<div class="clearfix"></div>
</section>
<?php get_footer(); ?>