Ready to get started?Download WordPress


timestamp IN the post (8 posts)

  1. jpierre
    Posted 10 years ago #

    sorry for the mess. Don't know what happened.

  2. unoamigo
    Posted 10 years ago #

    I'm not understanding if you have a question or pointing out something you did.
    Do you just want things chronological on any given day? But day to day in reverse chronological order? I'm confused.
    You can move anything around inside the foreach loop and still get the appropriate data for each post.

  3. Nick Momrik
    Posted 10 years ago #

    Edit the post. If you want to change the timestamp, check the box on the edit screen and change the date/time.

  4. Nick Momrik
    Posted 10 years ago #

    I think you're going to have to include that manually, because otherwise WP would have to keep track of the date/time of every single update and it doesn't do that. It keeps posted time and modified time. So if you modify it several times it only keeps the last time.

  5. Beel
    Posted 10 years ago #

    You could probably make a quicktag to add the timestamp.

  6. Anonymous
    Posted 10 years ago #

    Does the following do what you want?

    if ("$post->post_modified_gmt" <> "$post->post_date_gmt") {
    print("update: $post->post_modified");
    //NOTE: See www.php.net/date for formatting options

  7. unoamigo
    Posted 10 years ago #

    There will be the date you originally made the post (or the date you edit it to), at the bottom.
    MtDewVirus is right, you will want to add in the date manually with the edit. Keep in mind, the original post date will still appear at the bottom of the post - with the way you have it set up now.
    A more intuitive way, would be to have the original post date appear at the top of the post. Then consequently when you use <Ins>, followed by your update, things will appear in proper sequential order to your reader.

  8. jpierre
    Posted 10 years ago #

    Right. I see that I had it wrong. So it works, and the quicktag works too. I'll have to make a few changes to the date and time format. Good tips. Beel, champion of the quicktags!

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.