forked from bryanveloso/chaoticsoul
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsearch.php
35 lines (22 loc) · 1.23 KB
/
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
34
35
<?php get_header(); ?>
<div id="content" class="widecolumn">
<?php if (have_posts()) : ?>
<h2 class="title"><?php _e('Search Results', 'chaoticsoul'); ?></h2>
<?php while (have_posts()) : the_post(); ?>
<div <?php post_class(); ?>>
<h2 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'chaoticsoul'), get_the_title()); ?>"><?php the_title(); ?></a></h2>
• <?php the_time(get_option('date_format')) ?>
<p class="postmetadata">Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></p>
</div>
<?php endwhile; ?>
<div class="navigation">
<div class="alignleft"><?php next_posts_link(__('« Previous Entries', 'chaoticsoul')) ?></div>
<div class="alignright"><?php previous_posts_link(__('Next Entries »', 'chaoticsoul')) ?></div>
</div>
<?php else : ?>
<h2 class="center"><?php _e('No posts found. Try a different search?', 'chaoticsoul'); ?></h2>
<?php include (TEMPLATEPATH . '/searchform.php'); ?>
<?php endif; ?>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>