rendered paste body<?php get_header(); ?><div class="archive-banner"> <h2><?php single_cat_title(); ?> </h2><?php echo category_description(); ?></div><div class="archive-banner-bottom"></div><?php$cat_id = get_query_var('cat');$catlist = get_categories('child_of=' . $cat_id);if ($catlist) {wp_list_categories('echo=0&orderby=id&title_li=&child_of=' . $cat_id);} else {//okay not child categories so just display this category's posts?><?php if (have_posts()) : while (have_posts()) : the_post(); ?><?php if (is_new_day()){ ?> <div class="date-box"><?php the_time('M'); ?><br /><span class="big-date"><?php the_time('j'); ?></span><br /><?php the_time('Y'); ?></div><?php } //if (is_new_day?><?php if (function_exists("post_class")) { // for pre-WordPress 2.7 ?><div id="post-<?php the_ID(); ?>" <?php post_class(); ?>><?php } else { ?><div id="post-<?php the_ID(); ?>"><?php } ?> <div class="post-meta post-top-meta"> <span class="top-categories"><?php the_category(', '); ?> </span> <span class="byline"><?php _e('By ', 'pressplay'); ?><?php the_author_posts_link(); edit_post_link(__('Edit', 'pressplay'), ' (', ')'); ?> | </span> <span class="comments-declaration"><?php comments_popup_link(__(' No comments yet', 'pressplay'), __(' 1 comment', 'pressplay'), __(' % comments', 'pressplay'), 'comments-link', __(' Comments turned off', 'pressplay')); ?> </span> </div> <h2 class="post-title"> <a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title_attribute(); ?> permalink"> <?php the_title(); ?> </a> </h2> <div class="post-body"> <?php the_excerpt(); ?> <?php wp_link_pages(); ?> </div><!-- .post-body --></div><!-- #post-ID .post_class --><?php endwhile; //while (have_posts())?><?php if(get_next_posts_link() || get_previous_posts_link()){ ?><div class="next-and-previous"> <div class="next-and-previous-link alignleft older-posts"><?php next_posts_link(__('← Older Posts', 'pressplay')) ?></div> <div class="next-and-previous-link alignright newer-posts"><?php previous_posts_link(__('← Older Posts', 'pressplay')) ?></div> <div class="divclear"></div></div><?php } //if(get_next_posts_link())?><?php endif; //if (have_posts())?><?php } //if ($catlist)?><?php get_sidebar(); ?><?php get_footer(); ?>