• In my source I have the code:
    <h1 align=”right”><?php the_title(); ?> | <?php the_date() ?></h1>
    <?php the_excerpt(); ?>
    I use a generic header throughout the site so I’m not sure why the date would be missing from the teaser page and not the page with the entry.
    Offending page here: http://www.fearofmotion.com/main.php
    Help appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Have you tried to read the doc for the_date tag ?
    http://wiki.ww.wp.xz.cn/the_date
    Seems you’re missing the date format…
    <?php the_date(‘Y/m/d’,”,”,true); ?>
    This should work although I cannot test it right now.

    Thread Starter major

    (@major)

    Thanks for helping. it’s not so much the latest date format, but the date tag appeared outside the loop which was on the page you linked to.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Date missing from teaser page’ is closed to new replies.