Is there a way to display posts, scheduled for the future?
I want to use the published data as an event date and time, which is obviously in the future. I still would like to use these posts for a loop, and for single pages.
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It only takes a minute to sign up.Sign up to join this community
'post_status' => 'draft'to receive all posts that are not published.
'order' => 'DESC'to sort from highest (first) value to the lowest
'orderby' => 'date'to sort by post date
date()or the built in
then compare if the post is in the future and - if so - display it.
Maybe there are easier ways to do this, but this is the fastest guide to a solution I could come up with.