WordPress.org

Ready to get started?Download WordPress

Forums

post_request(): add full time-string (1 post)

  1. twopeak
    Member
    Posted 5 years ago #

    I'm coding a site and I need to show all posts after a specific date.
    Right now there is no way to do this with query_posts()
    I'm almost there to create it with a custom query but I would like this to exist in the API.

    right now query_posts allows following time options:
    hour, minute, second ,day ,monthnum, year
    a full-time string (Y-m-d H:i:s) as exists in the posts table of the database would make the archives much more flexible (select posts between two dates etc).

Topic Closed

This topic has been closed to new replies.

About this Topic