Show scheduled posts in archive page
Keep things simple – leave your archive templates alone and place this in your functions.php; add_action( ‘pre_get_posts’, function ( $wp_query ) { global $wp_post_statuses; if ( ! empty( $wp_post_statuses[‘future’] ) && ! is_admin() && $wp_query->is_main_query() && ( $wp_query->is_date() || $wp_query->is_single() ) ) { $wp_post_statuses[‘future’]->public = true; } }); Essentially, it says; If we’re on a … Read more