I use the following code in my main template to show the date and time of the post.
Written by <?php the_author(); ?> on <?php the_date(); ?> at <?php the_time(); ?>
If I have two posts on the same day, the date on the second one disappears on the second one. I know I can get it to appear by putting (‘F jS, Y’) after the_date, but I would like the format of the date to be controlled by the General Options date setting.
You can see the problem here.
- The topic ‘Two posts – same day – date disappears’ is closed to new replies.