-
Notifications
You must be signed in to change notification settings - Fork 0
/
search.php
42 lines (27 loc) · 1014 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
35
36
37
38
39
40
41
42
<?php get_header(); ?>
<div id="page-header-outer" class="row-outer">
<div class="container">
<div class="row">
<header class="entry-header text-center">
<h5><?php _e("Search Results for","bonestheme"); ?>: </h5>
<h1 class="entry-title"> <?php echo esc_attr(get_search_query()); ?></h1>
</header>
</div> <!-- /row -->
</div> <!-- /container -->
</div> <!-- /page-header-outer -->
<div id="page-content-outer" class="row-outer">
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<?php get_template_part( 'partials/content', 'excerpt' ); ?>
<?php endwhile; ?>
<?php get_template_part( 'partials/pagination' ); ?>
<?php else : ?>
<?php get_template_part( 'partials/content', 'none' ); ?>
<?php endif; ?>
</div><!-- /col -->
</div><!-- /row -->
</div><!-- /container -->
</div> <!-- /page-content-outer -->
<?php get_footer(); ?>