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.
Pingback: designfloat.com
Pingback: Mostrar los posts programados en el feed [Wordpress] | 140 Geek
Pingback: How To Include Your Scheduled Articles In RSS Feed | Speckyboy Design Magazine
Pingback: How To Include Your Scheduled Articles In RSS Feed
Pingback: How To Include Your Scheduled Articles In RSS Feed | WebDevKungfu
Pingback: How To Include Your Scheduled Articles In RSS Feed | The best Tutorials
Pingback: 100+ Fresh and Useful Articles From Design Community
Pingback: Mostrar los posts programados en el feed [WordPress] « Los Buscadores