archives showing list instead of entire post
-
I’m having trouble with my archives, as when a date is clicked, it shows a categorized list of posts, rather than the entire posts themselves. Not sure what php page needs to be altered. Here is my archive.php code…
<?php
/*
Template Name: Archives
*/
?><?php include (TEMPLATEPATH.”/header.php”); ?>
<div id=”content”>
<div id=”contentleft”>
<h2>Archives for <?php the_time(‘F Y’) ?></h2>-
<?php while(have_posts()) : the_post(); ?>
- <?php the_time(‘d’) ?> – “><?php the_title(); ?>
<?php endwhile; ?>
<p align=”center”><?php posts_nav_link(‘ — ‘, __(‘« newer posts’), __(‘older posts »’)); ?></p>
</div>
<?php include(TEMPLATEPATH.”/sidebar.php”);?>
</div><?php get_footer(); ?>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘archives showing list instead of entire post’ is closed to new replies.