WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Post date missing from some posts in the archive (4 posts)

  1. Class
    Member
    Posted 4 years ago #

    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?

  2. esmi
    Forum Moderator
    Posted 4 years ago #

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

  3. Class
    Member
    Posted 4 years ago #

    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!

  4. Class
    Member
    Posted 4 years ago #

    That did the trick, thanks, esmi.

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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags