-
Notifications
You must be signed in to change notification settings - Fork 0
/
search.php
34 lines (27 loc) · 657 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
33
34
<?php get_header(); ?>
<!-- container start -->
<div class="content-column"><?php
debug_location("Search");?>
<article class="post" >
<h2 class="no-marg">Search results for: <?php the_search_query(); ?></h2>
</article><?php
if (have_posts()) :
while (have_posts()) : the_post();
get_template_part('content');
endwhile;
// Previous/next post navigation.
get_template_part( 'content-pagination' );?>
</div><?php
else : ?>
<article class="post">
<nav class="site-nav">
<p>Sorry, nothing found for your search!</p>
</nav>
</article><?php
endif; ?>
</div>
<!-- container end -->
<?php
get_sidebar();
get_footer();
?>