Is there a variable/key for post creation date? (3 posts)

  1. Zepfanman
    Posted 5 years ago #

    I know there is a "post_date" key, but is there also something like a "post_created" key that matches more closely to the ID order?

    I am creating a lifestream page and I've noticed that several of the external feeds that I'm using assign different "post_date"s than I would like. For example, in my WordPress lifestream, I would like my Flickr Favorites photos to be ordered by the date that I favorite them, not the order that they were originally posted by the original user. My YouTube favorites show up the same way.

    I could order the entire lifestream by $post–>ID, but some of the feeds don't import immediately, so the Loop would have a lot of posts from the same feeds clumped together.

    Hope this makes sense. Thanks for reading!

  2. ambrosite
    Posted 5 years ago #

    The only other date field stored with the posts, besides post_date, is post_modified, which should be the date and time the post was last updated. You could try that.

  3. Zepfanman
    Posted 5 years ago #

    Thank you. I guess that's about as good as it gets! Is there an easy way to create a Custom Field that would automatically encode this initial timestamp I'm looking for?

Topic Closed

This topic has been closed to new replies.

About this Topic