My question here is to display all the single detail page of future scheduled posts. It is returning 404 page. How can this be done in wordpress?
What I have used so far is
$args = array( 'posts_per_page' => 10, 'category__in' => $category->term_id, 'orderby' => 'post_date', 'meta_key' => 'starttime', 'order' => 'ASC', 'post_type' => 'post', 'post_status' => array('publish','future'), ); $loop1 = new WP_Query( $args );
From this code I get published, and scheduled posts. The permalink of the published post is working fine. But it is not working for scheduled posts, and redirecting to 404 page error.