-
Notifications
You must be signed in to change notification settings - Fork 0
/
search.php
33 lines (23 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
<?php get_header(); ?>
<div id="content" class="col_content">
<h1 class="page-title">
<?php
echo esc_html__( 'Search for: ', 'am' );
echo get_search_query();
?>
</h1>
<?php breadcrumb_trail( 'echo=1&separator=/' ); ?>
<?php if ( have_posts() ) : ?>
<?php
while ( have_posts() ) :
the_post();
?>
<?php get_template_part( 'templates/content', 'post' ); ?>
<?php endwhile; ?>
<?php get_template_part( 'templates/pagination', 'post' ); ?>
<?php else : ?>
<?php get_template_part( 'templates/content', 'none' ); ?>
<?php endif; ?>
</div><!-- /content -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>