WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. pac10dave
    Member
    Posted 4 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?

    Thanks!

  2. esmi
    Theme Diva & Forum Moderator
    Posted 4 years ago #

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

  3. MichaelH
    Member
    Posted 4 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().

    Related:
    Stepping Into Template Tags
    Stepping Into Templates
    Template Hierarchy

  4. pac10dave
    Member
    Posted 4 years ago #

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

  5. MichaelH
    Member
    Posted 4 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

Tags

No tags yet.