public
Description: An elegant, flexible WordPress theme
Homepage: http://tarskitheme.com/
Clone URL: git://github.com/ionfish/tarski.git
tarski / search.php
100644 43 lines (25 sloc) 1.052 kb
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
43
<?php get_header(); ?>
 
 
 
<div class="primary posts">
<?php if(have_posts()) { // Gets it all going ?>
 
 
<div class="archive">
<div class="meta">
<h1 class="title"><?php _e('Search Results','tarski'); ?></h1>
</div>
<div class="content">
<p><?php printf( __('Your search for %s returned the following results.','tarski'), '<strong>' . esc_html(get_search_query()) . '</strong>' ); ?></p>
</div>
</div> <!-- /archive -->
<?php include(TEMPLATEPATH.'/loop.php'); ?>
<?php } else { ?>
<div class="entry">
<div class="meta">
<h1 class="title"><?php _e('No results','tarski'); ?></h1>
</div>
<div class="content">
<p><?php printf( __('Your search for %1$s returned no results. Try returning to the %2$s.','tarski'), '<strong>' . esc_html(get_search_query()) . '</strong>', '<a href="' . get_bloginfo('url') . '">' . __('front page','tarski') . '</a>' ); ?></p>
</div>
</div> <!-- /entry -->
<?php } ?>
</div> <!-- /primary -->
 
 
 
<?php get_sidebar(); ?>
 
 
 
<?php get_footer(); ?>