WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Date not appearing after first post (6 posts)

  1. haleyo
    Member
    Posted 5 years ago #

    Hi there!

    On my blog, the date only appears on the first post, and then it disappears on all subsequent posts ON THAT PAGE.

    If you go to the next page of my blog, all post dates are there....

    So weird.

    Can someone help, please?

    This happens on two of my blogs: http://cheatymonkey.com and http://cheatygossip.com

    Thanks, Haley

  2. MichaelH
    Member
    Posted 5 years ago #

    That is correct, the Template Tag, the date(), is designed to do that. Instead, you might want to use the Template Tag, the time(), in your index.php template.

    Editing Files
    Stepping Into Templates
    Stepping Into Template Tags

  3. haleyo
    Member
    Posted 5 years ago #

    Thank you.But I don't have Template Tag, the date() anywhere in that template. So can't change it to time().

  4. haleyo
    Member
    Posted 5 years ago #

    Kay, figured it out. I had to change 'date' to 'time' -- as you suggested -- in the post.php template. THANK YOU!!!

  5. Anonymous
    Unregistered
    Posted 5 years ago #

    Hi

    I'm having the exact same problem. I've attempted to amend the post.php template, but to be honest I'm not sure what section I need to change Date to Time?

    I'd really appreciate your help with this :)

    Cheers

  6. tsguitar
    Member
    Posted 5 years ago #

    Look at the links MichaelH gave; those do a good job of walking you through the process. Other than that, post the part of the template you're working on along with a description of exactly what it is that you want to do. But do give those links a read. That's some crucial reading.

Topic Closed

This topic has been closed to new replies.

About this Topic