1 | <?php get_header(); ?>
|
---|
2 |
|
---|
3 | <div id="topcurve"></div>
|
---|
4 | <div id="main">
|
---|
5 | <div id="content">
|
---|
6 |
|
---|
7 | <?php if (have_posts()) : ?>
|
---|
8 | <?php while (have_posts()) : the_post(); ?>
|
---|
9 |
|
---|
10 | <div class="post">
|
---|
11 | <h2 class="postTitle"><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2>
|
---|
12 | <p class="postMeta">Posted <?php the_time('M.d, Y') ?> in <?php the_category(', '); ?></p>
|
---|
13 | <div class="postContent"><?php the_content('(continue reading...)'); ?></div>
|
---|
14 | <div class="cleared"></div>
|
---|
15 | <div class="postMetaBottom">
|
---|
16 | <p class="postMetaTags"><?php the_tags('Tags: ', ', ', ''); ?></p>
|
---|
17 | <div class="cleared"></div>
|
---|
18 | </div>
|
---|
19 | </div> <!-- Closes Post -->
|
---|
20 |
|
---|
21 | <div id="comment">
|
---|
22 | <?php if (function_exists('wp_list_comments')): ?>
|
---|
23 | <!-- WP 2.7 and above -->
|
---|
24 | <?php comments_template('', true); ?>
|
---|
25 |
|
---|
26 | <?php else : ?>
|
---|
27 | <!-- WP 2.6 and below -->
|
---|
28 | <?php comments_template(); ?>
|
---|
29 | <?php endif; ?>
|
---|
30 | </div> <!-- Closes Comment -->
|
---|
31 |
|
---|
32 | <?php endwhile; ?>
|
---|
33 | <?php else : ?>
|
---|
34 | <div class="post">
|
---|
35 | <h2 class="postTitle">Not Found</h2>
|
---|
36 | <div class="postContent"><p>Sorry, but you are looking for something that isn't here.</p></div>
|
---|
37 | </div> <!-- Closes Post -->
|
---|
38 | <?php endif; ?>
|
---|
39 | </div> <!-- Closes Content -->
|
---|
40 |
|
---|
41 | <?php get_sidebar(); ?>
|
---|
42 | <div class="cleared"></div>
|
---|
43 | </div> <!-- Closes Main -->
|
---|
44 |
|
---|
45 | <?php get_footer(); ?>
|
---|