WordPress.org

Support

Support » Themes and Templates » [Resolved] Post date missing from some posts in the archive

[Resolved] Post date missing from some posts in the archive

  • Take a look at my archive, notice some of the listings are missing the date, only the time is showing but when looking at the actual post the date is in place as well.

    Anyone got any idea what might be the problem?

Viewing 3 replies - 1 through 3 (of 3 total)
  • esmi

    @esmi

    Forum Moderator

    Try changing references to the_date() to the_time() in that template.

    Aah, is it related to this from the 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()).

    I’ll try that tomorrow and post back if it help, thanks!

    That did the trick, thanks, esmi.

    Somehow I missed the big Note on the codex when I checked, heh.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Post date missing from some posts in the archive’ is closed to new replies.