web/wp-content/themes/vivee_portfolio/search.php
author ymh <ymh.work@gmail.com>
Mon, 22 Mar 2010 16:36:28 +0100
changeset 5 ac511f1ccc8e
parent 1 0d28b7c10758
permissions -rw-r--r--
add hgignore
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
0d28b7c10758 First commit
ymh
parents:
diff changeset
     1
<?php get_header(); ?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
     2
0d28b7c10758 First commit
ymh
parents:
diff changeset
     3
	<div id="content" class="narrowcolumn">
0d28b7c10758 First commit
ymh
parents:
diff changeset
     4
0d28b7c10758 First commit
ymh
parents:
diff changeset
     5
	<?php if (have_posts()) : ?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
     6
0d28b7c10758 First commit
ymh
parents:
diff changeset
     7
		<h2 class="pagetitle">Search Results</h2>
0d28b7c10758 First commit
ymh
parents:
diff changeset
     8
0d28b7c10758 First commit
ymh
parents:
diff changeset
     9
		<div class="navigation">
0d28b7c10758 First commit
ymh
parents:
diff changeset
    10
			<div class="alignleft"><?php next_posts_link('&laquo; Older Entries') ?></div>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    11
			<div class="alignright"><?php previous_posts_link('Newer Entries &raquo;') ?></div>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    12
		</div>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    13
0d28b7c10758 First commit
ymh
parents:
diff changeset
    14
0d28b7c10758 First commit
ymh
parents:
diff changeset
    15
		<?php while (have_posts()) : the_post(); ?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    16
0d28b7c10758 First commit
ymh
parents:
diff changeset
    17
			<div class="post">
0d28b7c10758 First commit
ymh
parents:
diff changeset
    18
				<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>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    19
				<small><?php the_time('l, F jS, Y') ?></small>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    20
0d28b7c10758 First commit
ymh
parents:
diff changeset
    21
				<p class="postmetadata"><?php the_tags('Tags: ', ', ', '<br />'); ?> Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?>  <?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?></p>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    22
			</div>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    23
0d28b7c10758 First commit
ymh
parents:
diff changeset
    24
		<?php endwhile; ?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    25
0d28b7c10758 First commit
ymh
parents:
diff changeset
    26
		<div class="navigation">
0d28b7c10758 First commit
ymh
parents:
diff changeset
    27
			<div class="alignleft"><?php next_posts_link('&laquo; Older Entries') ?></div>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    28
			<div class="alignright"><?php previous_posts_link('Newer Entries &raquo;') ?></div>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    29
		</div>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    30
0d28b7c10758 First commit
ymh
parents:
diff changeset
    31
	<?php else : ?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    32
0d28b7c10758 First commit
ymh
parents:
diff changeset
    33
		<h2 class="center">No posts found. Try a different search?</h2>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    34
		<?php include (TEMPLATEPATH . '/searchform.php'); ?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    35
0d28b7c10758 First commit
ymh
parents:
diff changeset
    36
	<?php endif; ?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    37
0d28b7c10758 First commit
ymh
parents:
diff changeset
    38
	</div>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    39
0d28b7c10758 First commit
ymh
parents:
diff changeset
    40
<?php get_sidebar(); ?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    41
0d28b7c10758 First commit
ymh
parents:
diff changeset
    42
<?php get_footer(); ?>