summaryrefslogtreecommitdiffstats
path: root/search.php
blob: 9aeae81689cf23459ba7d7ada92546d3069e4975 (plain)
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
<?php get_header(); ?>

	
	<div id="left">
	<?php if (have_posts()) : ?>
	
	<?php while (have_posts()) : the_post();?>
		<div class="post">
			<h2 class="post-title"><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2>
			<span class="post-meta">Posted in <?php the_category(', ') ?> by <?php the_author(); ?> on <?php the_time('j M Y') ?></span>
			<div class="post-content">
			
			<?php the_excerpt(); ?>
			<div class="clearfix"></div>
			</div><!-- End Post Content -->
			<span class="post-meta"><a href="<?php comments_link(); ?>"><?php comments_number( __( 'No comments', 'default' ), __( 'One Comment', 'default' ), __( '% comments', 'default' )); ?> &#187;</a></span>

			
		
		</div><!-- End Post -->
		<?php endwhile; ?>
		
		<?php else : ?>
		<div class="post">
			<h2>No posts found. Try a different query!</h2>			
		
		</div><!-- End Post -->
		<?php endif; ?>
		<?php echo bmPageNavi(); ?>
		
	</div><!-- End Left -->
	
	<?php get_sidebar(); ?>
	
	<div class="clearfix"></div>
	
	</div><!-- End Container -->
	<div id="bottom-container"></div><!-- End Bottom Container -->

<?php get_footer(); ?>