If you work ahead of your schedule and keep your articles scheduled, this simple tutorial might come in very handy. With this simple trick you can show your readers which articles are scheduled to get live on your site in coming days from your RSS feeds.

Procedure:

Note: Do take backup of the file before you try this.

01. Place this code in functions.php file:

/* Include published and future posts in rss feed. */
function FuturePostsFeed($query) {
if ($query->is_feed) {
$query->set('post_status','publish,future');
}
return $query;
}
add_filter('pre_get_posts','FuturePostsFeed');


This concludes this simple and useful tutorial. Hope you like it.