Support » Fixing WordPress » the_time and get_the_date won't repeat

  • Resolved Lars Eighner

    (@lars-eighner)


    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?

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

    (@esmi)

    Forum Moderator

    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.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘the_time and get_the_date won't repeat’ is closed to new replies.