[Resolved] Last Entry per page: no date?
I’m having an odd problem: the posts are all displaying the date/time properly, like so:
Saturday September 23, 2006 | 12:43
EXCEPT for the LAST post on every page, which looks like this:
So, time displays fine, but no Date. If I delete that particular entry, or add a new one, causing it to either move up, or jump to the beginning of the next page, problem disappears.
Here’s a snippet of the code in The Loop:
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class=”post” id=”post-<?php the_ID(); ?>”>
<h1>” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>”><?php the_title(); ?> </h1>
<div class=”descr”><?php the_date() ?> | <?php the_time() ?> by <span class=”author”><?php the_author() ?></span><?php echo c2c_get_custom(‘dateline’, ‘ in <span class=”author”>’, ‘</span>’); ?></div>
Any help much appreciated.
- The topic ‘[Resolved] Last Entry per page: no date?’ is closed to new replies.