-
Notifications
You must be signed in to change notification settings - Fork 0
/
search.php
24 lines (20 loc) · 849 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
<?php get_header();?>
<div class="pane-primary concavebox">
<h1 class="pane-title"><?php printf( __( 'Search » %s', 'slimwriter' ), get_search_query() ); ?></h1>
<?php $term_description = term_description();?>
<?php if(!empty($term_description)): ?>
<div class="pane-content">
<?php echo $term_description; ?>
</div>
<?php endif; ?>
</div>
<?php if(have_posts()): while(have_posts()) : the_post(); ?>
<?php get_template_part('content', get_post_type());?>
<?php endwhile; else:?>
<?php endif;?>
<ul class="pager">
<li class="previous"><?php next_posts_link('« '. _x('Older Posts', 'post navigation', 'slimwriter')); ?></li>
<li class="next"><?php previous_posts_link(_x('Newer Posts', 'post navigation', 'slimwriter') . ' »' ); ?></li>
</ul>
<?php get_sidebar();?>
<?php get_footer();?>