How To Display Scheduled Posts In WordPress

If you schedule posts in your blog in advance and want to show your readers what’s coming next, here’s a snippet to display scheduled posts in WordPress. You will also get more viewers with this trick as your visitors will know when to come back for the next post. Here are two ways of doing it:

Add following PHP snippet to your page to display all your future posts:

We can also use this trick with a simple shortcode. Add following code to your current theme’s functions.php file:

Now, use [scheduled_posts] shortcode to display scheduled posts in your WordPress posts, pages or even in widgets.