WordPress.org

Ready to get started?Download WordPress

Forums

Dates disappearing from posts (3 posts)

  1. nrumas
    Member
    Posted 5 years ago #

    I've been having this problem ever since I started using WordPress this past April.

    Certain posts go up with dates missing. The author name is there, but the date is mysteriously absent. It generally affects about 25% of posts. And it sometimes happens to posts when they get bumped down by a new post. Very very odd.

    The best way to see what I'm talking about would just be to visit the front page. You'll see what I'm talking about right away as you scroll down.

    If anybody has any information that could help me out here, I would greatly appreciate it.

  2. yoshi
    Member
    Posted 5 years ago #

    Here is a note from the_date doc.:

    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.

  3. nrumas
    Member
    Posted 5 years ago #

    Wow, so it wasn't a glitch after all. Thank you very much, Yoshi!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags