Upcoming Posts Shortcode

A shortcode, showing planned posts.


For one of my projects, I was looking for a WordPress Plugin that shows the next planned posts in a widget. The one Plugin in the WP Repository seemd too “strong” to me, I wanted something more minimalistic. 
So, I did my own minimalistic Plugin. 

You can use it, improve on it and do with it, whatever you want.

Demo of the Plugin

  • This post is planned for August 21, 2087 – 21. August 2087

    That’s when I turn 100.

How to use the Shortcode

Download the plugin
The link is above.

Install & Activate
Install it via the WordPress Plugin Installer. 
Plugins -> Install -> Upload the ZIP
-> Activate it

Use the shortcode
The Shortcode is: 

[upcoming_posts]

If you are using the Classic Editor: 
Just put in the shortcode.

If you are using the Gutenberg Editor:
Add a shortcode-block and paste in the shortcode. 

By default, it will show the next 5 upcoming posts. If you want to show a different number, use the numberposts attribute, e.g. 

[upcoming_posts numberposts="10"]

Tags:

Before: