[resolved] the_time and get_the_date won't repeat (3 posts)

  1. Lars Eighner
    Posted 3 years ago #

    The codex says the_date() will not return anything after the first occurrence of posts with the same date. It says to use the_time() or get_the_date() if the date is wanted on every post. But that does not seem to work. the_time('d-M-y') seems to work exactly like the_date() - it will return the first of similar dates, but does not return anything for duplicated dates.

    Do I have to have a new query for every single post?

  2. esmi
    Forum Moderator
    Posted 3 years ago #

    I'm sorry but that's simply not true. I use the_time() in all of my themes (50+ in total & counting) and it has never yet failed to display the date/time on every single post.

  3. Lars Eighner
    Posted 3 years ago #

    Damn! It was a stray umbilical Template: to a once-parent.

Topic Closed

This topic has been closed to new replies.

About this Topic