1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<?php get_header(); ?>
<div class="grid-9">
<?php if (have_posts()) : ?>
<ul class="list-search">
<?php while (have_posts()) : the_post(); ?>
<li>
<h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?> ›</a></h3>
<?php the_excerpt(); ?>
</li>
<?php endwhile; ?>
</ul>
<?php else: ?>
<h3>Sorry, we couldn't find any results</h3>
<p>Why not try one of the following pages instead?</p>
<ul>
<?php wp_list_pages('sort_column=menu_order&title_li=&depth=1'); ?>
</ul>
<?php endif; ?>
</div>
<?php get_footer(); ?>
|