Monday, November 30, 2020
Home Blogging How to List Future Upcoming Scheduled Posts in WordPress

How to List Future Upcoming Scheduled Posts in WordPress

Not too long ago, certainly one of our customers requested us how they will listing scheduled or future upcoming posts in WordPress. Exhibiting upcoming posts may be useful in getting folks to subscribe to your weblog. On this article, we are going to present you the right way to show future upcoming posts in WordPress sidebar.

What’s Scheduled or Future Upcoming Posts in WordPress?

In case you have been running a blog for some time, then you’ve got most likely seen that publishing posts on a sure time will get extra folks to learn it. In case you are new to running a blog and don’t know what time you get essentially the most guests, then it is best to begin utilizing Google Analytics to trace this data.

The issue is that you simply can’t simply sit round and await that point to hit the publish button. That’s why WordPress comes with built-in scheduling characteristic. It permits you to schedule your posts to be printed later.

Utilizing scheduling you possibly can deal with creating content material and managing your editorial calendar like a professional.

Having stated that, let’s see how one can exhibit your upcoming posts in WordPress and use it to get extra subscribers.

Nonetheless for those who simply need to observe text-instructions, then you possibly can observe our step-by-step tutorial on the right way to listing future upcoming scheduled posts in WordPress.

Methodology 1: Exhibiting Scheduled or Future Posts with Plugin

Very first thing you want to do is set up and activate SOUP – Showcase Upcoming Posts plugin. For extra particulars, see our step-by-step information on the right way to set up a WordPress plugin.

Upon activation, you want to go to Look » Widgets web page. There you will discover ‘Upcoming Posts’ widget below the listing of obtainable widgets. Merely add the widget to your sidebar the place you to show scheduled posts.

The widget settings mean you can select the variety of scheduled posts you need to present. You can too present dates subsequent to them, hyperlink to your RSS feed, or hyperlink to a web page the place customers can signup to your electronic mail listing.

Click on on the save button to retailer your widget settings.

Now you can go to your web site to see the widget in motion.

Methodology 2: Exhibiting Scheduled or Upcoming Posts Manually

Merely add this code to your theme’s capabilities.php file or a site-specific plugin.

function wpb_upcoming_posts() {
    // The query to fetch future posts
    $the_query = new WP_Query(array(
        'post_status' => 'future',
        'posts_per_page' => 3,
        'orderby' => 'date',
        'order' => 'ASC'
// The loop to display posts
if ( $the_query->have_posts() ) {
    echo '<ul>';
    while ( $the_query->have_posts() ) {
        $output .= '<li>' . get_the_title() .' ('.  get_the_time('d-M-Y') . ')</li>';
    echo '</ul>';
} else {
    // Show this when no future posts are found
    $output .= '<p>No posts planned yet.</p>';
// Reset post data
// Return output
return $output;
// Add shortcode
add_shortcode('upcoming_posts', 'wpb_upcoming_posts');
// Enable shortcode execution inside text widgets
add_filter('widget_text', 'do_shortcode');

Now you possibly can go to Look » Widgets web page. Add a textual content widget to your sidebar the place you need to show upcoming posts and add this shortcode contained in the widget.


Click on on the save button to retailer your widget settings.

Now you can go to your web site to see the upcoming scheduled posts in your sidebar. You can too use this shortcode in a put up, web page, or a template in your little one theme.

You May Also Like : How to Disable Login Hints in WordPress Login Error Messages

We hope this text helped you learn to present scheduled posts in your WordPress sidebar. You may additionally need to see our listing of those 25 most helpful WordPress widgets to your web site.

If you liked this article, make sure to hit the bell for getting our latest updates and share this article with your friends in every social media platforms.



Please enter your comment!
Please enter your name here

- Advertisment -

Most Popular

How to Signup for Godaddy Affiliate Program & Start Making Money

GoDaddy is likely one of the well-liked model names out there of area and web-hosting. They are well-liked for a numerous cause, and so they...

How To Start Selling Website on Flippa: A Beginner’s Guide To Success

If you may have been working on-line for lengthy and into Website flipping, Flippa is one identify that you need to have heard of. Flippa is a...

How to Fix Your Connection is Not Private Error (Site Owners Guide)

Are you seeing ‘Your connection is not private’ error in your WordPress web site? This is the error message you’ll see on Google Chrome. The...

How to Fix the WordPress White Page of Death (Step by Step)

The WordPress white page of dying is one of the most widespread WordPress errors. It can also be one of the most irritating ones as...

Recent Comments