Download raw (1.3 KB)
<?php get_header(); ?> <div id="content_box"> <div id="left_side"> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <?php include (TEMPLATEPATH . '/navigation.php'); ?> <div class="wide_post"> <h1><?php the_title(); ?></h1> <p class="meta"><?php the_category(' · '); ?> · <?php the_time('F jS, Y') ?> · <?php the_author_link() ?></p> <div class="entry"> <?php the_content('<p>Read the rest of this entry »</p>'); ?> <?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?> </div> <p class="meta">Tags: <?php the_category(' · ') ?><?php edit_post_link('Edit',' · ',''); ?></p> <div class="clear"></div> <?php endwhile; else: ?> <h2 class="page_header">Something went wrong</h2> <div class="entry"> <p>Sorry, no posts matched your criteria. do you want to search instead?</p> <?php include (TEMPLATEPATH . '/searchform.php'); ?> </div> <?php endif; ?> </div><!--wide_post--> </div><!--left_side--> <div class="sidebar"> <?php include (TEMPLATEPATH . '/s_sidebar.php'); ?> </div> <div class="r_sidebar"> <?php include (TEMPLATEPATH . '/r_sidebar.php'); ?> </div> </div> <?php get_footer(); ?>