archives showing list instead of entire post (2 posts)

  1. iliketocolour
    Posted 6 years ago #

    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...

    Template Name: Archives

    <?php include (TEMPLATEPATH."/header.php"); ?>

    <div id="content">
    <div id="contentleft">
    <h2>Archives for <?php the_time('F Y') ?></h2>

    <p align="center"><?php posts_nav_link(' — ', __('« newer posts'), __('older posts »')); ?></p>
    <?php include(TEMPLATEPATH."/sidebar.php");?>

    <?php get_footer(); ?>

  2. esmi
    Forum Moderator
    Posted 6 years ago #

    <?php while(have_posts()) : the_post(); ?> <?php the_time('d') ?> - "><?php the_title(); ?>
    <?php the_content() ?>
    <?php endwhile; ?>

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.