summaryrefslogtreecommitdiffstats
path: root/page.php
blob: 4dddc650f3f1879e67ab8a57c98bd2a9465722cf (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
40
41
42
<?php get_header(); ?>

	
	<div id="left">
	<?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_content(); ?>
			<div class="clearfix"></div>
			<?php wp_link_pages('before=<div id="page-links">&after=</div>'); ?>

			</div><!-- End Post Content -->
			<?php if ( function_exists('the_tags') ) : ?><?php the_tags('<span class="post-meta">Tags: ',', ','</span>'); ?><?php endif; ?>
			<?php if (get_option('sp_author_box') == 'Yes'){ ?>
			<div class="about-author">
				<?php echo get_avatar( get_the_author_meta('user_email'), '80', '' ); ?>
				<h4>Written by <?php the_author_link(); ?></h4>
				<p><?php the_author_meta('description'); ?></p>
				<div class="clearfix"></div>
			</div><!-- End Author Box -->
			<?php } ?>
			<div class="comments" name="comments">
					<?php comments_template(); ?>
			</div>
			
		</div><!-- End Post -->
		<?php endwhile; ?>
		
		
	</div><!-- End Left -->
	
	<?php get_sidebar(); ?>
	
	<div class="clearfix"></div>
	
	</div><!-- End Container -->
	<div id="bottom-container"></div><!-- End Bottom Container -->

<?php get_footer(); ?>