Date doesn't show up on every post? (5 posts)

  1. pac10dave
    Posted 7 years ago #

    If you go to my website, http://www.allpac10.com the first and third post have the date as I want it to look. The 2nd, 4th, and 5th just have the name but not the date/tame next to them.

    It appears that it is set to only include the date and time for the day's most recent article, but I want it to do so for every post. Where can I go to correct that?


  2. esmi
    Forum Moderator
    Posted 7 years ago #

    Have a look at the index.php file in your theme.

  3. MichaelH
    Posted 7 years ago #

    SPECIAL NOTE: When there are multiple posts on a page published under the SAME DAY, the_date() only displays the date for the first post

    Quote is from the article the_date().

    Look at using the template tag, the_time().

    Stepping Into Template Tags
    Stepping Into Templates
    Template Hierarchy

  4. pac10dave
    Posted 7 years ago #

    Thanks Michael... is there any way to override this?

  5. MichaelH
    Posted 7 years ago #

    Just use 'the_time' function instead, it provides what you want.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.