• I’ve noticed that when I make two posts in one day, the date will only show under the most recent post. Any ideas? Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • I think that’s the default WP behaviour when there’s more than 1 post on the same day. If you were also displaying the post time, you’d see a different timestamp but not a date stamp on older post.

    Thread Starter Lauren

    (@liliripe)

    Ah, I see. Thank you, esmi!

    From the WordPress Codex:

    When there are multiple posts on a page published under the SAME DAY, the_date() only displays the date for the first post (that is, the first instance of the_date()). To repeat the date for posts published under the same day, you should use the Template Tag the_time() with a date-specific format string.

    http://codex.wordpress.org/Template_Tags/the_date

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Date not showing in some posts’ is closed to new replies.