mp-wp_genesis 1 <?php
mp-wp_genesis 2 /**
mp-wp_genesis 3 * @package WordPress
mp-wp_genesis 4 * @subpackage Default_Theme
mp-wp_genesis 5 */
mp-wp_genesis 6
mp-wp_genesis 7 get_header(); ?>
mp-wp_genesis 8
mp-wp_genesis 9 <div id="content" class="narrowcolumn">
mp-wp_genesis 10
mp-wp_genesis 11 <?php if (have_posts()) : ?>
mp-wp_genesis 12
mp-wp_genesis 13 <h2 class="pagetitle">Search Results</h2>
mp-wp_genesis 14
mp-wp_genesis 15 <div class="navigation">
mp-wp_genesis 16 <div class="alignleft"><?php next_posts_link('« Older Entries') ?></div>
mp-wp_genesis 17 <div class="alignright"><?php previous_posts_link('Newer Entries »') ?></div>
mp-wp_genesis 18 </div>
mp-wp_genesis 19
mp-wp_genesis 20
mp-wp_genesis 21 <?php while (have_posts()) : the_post(); ?>
mp-wp_genesis 22
mp-wp_genesis 23 <div <?php post_class() ?>>
mp-wp_genesis 24 <h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3>
mp-wp_genesis 25 <small><?php the_time('l, F jS, Y') ?></small>
mp-wp_genesis 26
mp-wp_genesis 27 <p class="postmetadata"><?php the_tags('Tags: ', ', ', '<br />'); ?> Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></p>
mp-wp_genesis 28 </div>
mp-wp_genesis 29
mp-wp_genesis 30 <?php endwhile; ?>
mp-wp_genesis 31
mp-wp_genesis 32 <div class="navigation">
mp-wp_genesis 33 <div class="alignleft"><?php next_posts_link('« Older Entries') ?></div>
mp-wp_genesis 34 <div class="alignright"><?php previous_posts_link('Newer Entries »') ?></div>
mp-wp_genesis 35 </div>
mp-wp_genesis 36
mp-wp_genesis 37 <?php else : ?>
mp-wp_genesis 38
mp-wp_genesis 39 <h2 class="center">No posts found. Try a different search?</h2>
mp-wp_genesis 40 <?php get_search_form(); ?>
mp-wp_genesis 41
mp-wp_genesis 42 <?php endif; ?>
mp-wp_genesis 43
mp-wp_genesis 44 </div>
mp-wp_genesis 45
mp-wp_genesis 46 <?php get_sidebar(); ?>
mp-wp_genesis 47
mp-wp_genesis 48 <?php get_footer(); ?>