Scheduling posts in wordpress

Schedule posts publishing in WordPressFor some blogs it’s very important to frequently publish new posts, which normally requires regular attention to your blog..

With the little trick in this post, you can learn how to schedule when new posts are published, so you don’t have to manually publish all your posts.

Publishing in WordPress

Normally you just press the “Publish” button in the WordPress admin interface, when a post is ready to be published.

Publish post in wordpress

By clicking the “Edit” link, you can change the default behavior of immediately publishing to schedueled publishing.

The scheduling options includes:

  • month
  • day
  • year
  • hour
  • minute

schedueling options in wordpress

When you have selected the wished publishing time, you just click “ok”, and the post is now scheduled for a future release.

Future posts teaser

If you’re using scheduling, you can also create a nice teaser, that displays the next posts that are about to be published on your blog.

A teaser like this can be used to increase the number of returning visits, RSS, Twitter or email subscriptions.

When a post is scheduled for being published, the post get a “future”  status in the “post_status” field in MySQL. Using this information, we can easily create a small piece of PHP that can retrieve the next 5 posts that are about to be published.

$future_post = new WP_Query('post_status=future&order=DESC&showposts=5');
if ($future_post->have_posts()) {
while ($future_post->have_posts()) : $future_posts->the_post(); ?>
<?php the_title(); ?>
<?php endwhile;

Next step is to insert this small piece of PHP wherever you want to display the future post list.


WordPress has a quite useful scheduling function built into the publishing functionality.

If you’re using the scheduling option, you can easily build a small PHP script that can displays the next posts that are about to be published

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS
fold-left fold-right
About the author
Jørgen Nicolaisen has been passionately interested in everything online since 1995. His experience is based on working with small hobby projects as well as high volume websites. Jørgen is currently focused on the PHP based programming framework - Codeigniter, and WordPress naturally

Comments are closed.