WordPress.org

Ready to get started?Download WordPress

Forums

Disappearing Dates on Author Change (3 posts)

  1. andrewmta
    Member
    Posted 6 years ago #

    Anyone else experiencing this problem?

    http://www.trustmeemail.com/blog/index.php/2006/11/

    These posts were all made on the same day but because I changed the author on some of them their date has disappeared and only the time (a separate call) remains. I tried editing the post timestamp thinking maybe I could rewrite the date into the field, no luck. It must still be there anyway because it is appearing under the correct date archive.

    Am I the only one whose noticed this?

  2. Kafkaesqui

    Posted 6 years ago #

    the_date() template tag is designed to only display once for each day. So on any page with multiple posts under the same day, it will only show once.

    You should use the_time() with a date format string when you want to force a date for each instance/post.

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

  3. andrewmta
    Member
    Posted 6 years ago #

    Thank you so much. I wouldn't have figured that out on my own. I appreciate the help.

Topic Closed

This topic has been closed to new replies.

About this Topic