forked from nicolas-van/wordpress-simple-bootstrap
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsearch.php
More file actions
27 lines (17 loc) · 607 Bytes
/
Copy pathsearch.php
File metadata and controls
27 lines (17 loc) · 607 Bytes
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
<?php get_template_part( 'content', 'standard-top' ); ?>
<header>
<div class="block-header">
<h1>
<?php echo _x("Search Results:", "label", "default"); ?> <?php echo esc_attr(get_search_query()); ?>
</h1>
</div>
</header>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<?php simple_boostrap_display_post(['multiple_on_page' => true]); ?>
<?php endwhile; ?>
<?php simple_boostrap_page_navi(); ?>
<?php else : ?>
<?php get_template_part( 'content', 'not-found' ); ?>
<?php endif; ?>
<?php get_template_part( 'content', 'standard-bottom' ); ?>