Welcome to Dagon Design. In addition to free scripts, WordPress plugins, and articles, we offer a variety of services including custom theme design, plugin creation, and PHP scripting. Contact me for more information.

Version 1.31   Updated Sunday, June 7th, 2009 at 6:18pm

Scheduled Draft Publish Plugin for WordPress

This plugin uses the built-in scheduling feature of WordPress to periodically take a draft post and publish it. You can define the time between occurrences, and choose to have it publish the oldest draft each time, or a random draft. By default, it publishes drafts in any category, but you can define one, or multiple, categories for it to take the drafts from. You can also choose to only publish a draft if it has been more than a set number of hours since the last post

Download

  If you have found this page useful, please consider donating. Thanks!

Instructions

  • Download the above file, rename it from .txt to .php, and upload it to your plugins directory
  • Enable the plugin
  • Configure the plugin options (under DDSchedDraft)
  • Click the ‘Enable Draft Publish’ button to start

Disabling the Schedule

To stop the schedule, simply click the ‘Disable Draft Publish’ button on the options page.

Change Log

  • 07-07-09 Version 1.31 – Added option to only publish a draft if it has been a set number of hours since the last post was added.
  • 02-22-09 Version 1.3 – Updated to work better in recent WordPress versions. Log file support added, and several other updates. Can also shift posts when no drafts are available. (version number skip is intentional)
  • 08-28-08 Version 1.0 – First release.

Options

Here are the options available in this plugin’s options page in the WordPress admin panel.

Draft Publish Delay

This is the number of hours between the publishing of drafts. The schedule will start as soon as you click the ‘Enable Draft Publish’ button.

Only Publish after X Hours

If used, a draft will only be published automatically if it has been more than this many hours since the last post was added.

Category IDs

If left blank, the plugin will operate on all of your posts. If you enter a comma-separated list of category ID’s, it will only publish drafts in those categories.

Random

If enabled, the plugin will publish a random draft each time the schedule runs. If disabled, it will publish the oldest draft each time.

Shift Posts

If checked, the oldest published post will be re-published as a new post,
ONLY if there are no drafts left to publish.

Log File

Full path on your server where you would like the log saved. You can leave this specific to this blog, or set up a global log for multiple blogs. Leave blank to disable this feature. Be sure to give this file write-access

Pages: [2] 1 » Show All

  1. I use WordPress 2.9.1. I tried this plugin but it didn’t work. Is it probably caused by a conflict with some other plugin or “Scheduled Draft Publish Plugin for WordPress” does not work on WordPress2.9?

  2. I upgraded to ver. 2.9 in WordPress. When I checked the logs, this plugin doesn’t work anymore.

    What do I need to edit in order for this plugin to work with the latest WP version?

  3. 23
    teliot

    is it possible to publish more posts that 1 in 1 hour?

  4. I like the plugin.

    Only issue I can see so far it’s not updating time when sitemap is re-generated. It shows when post was created, not publish.

    I hope this can be changed, or supported in upcoming version.

  5. 21
    Blade__

    draft publish but xml Sitemap post date 90% Always 1999-11-30 00:00 fix please plugin…

  6. renee: Currently, this plugin does not modify the RSS feed. I am planning on looking into this for the next release though.

  7. when I use the plugin I don’t get any emails in my outlook rss, only when I set up posting schedule for a specific post or publish myself. Should there be code in the plugin that also updates RSS??

  8. Version 1.31 Released

    This update adds an option to only publish a draft if it is been a set number of hours since the last post was added (set to 0 to disable this feature).

    This plugin has been tested, and works, in the latest release of WordPress – 2.8

  9. 17
    Blade

    publish draft post date sitemap problem

    http://www.mysite.com/blablabla.html 90% Always 1999-11-30 00:00

    please fixe data error

    1999-11-30 00:00

  10. 16
    Blade

    ok big thanks plugins but one hours 10 draft post limits please ?

Pages: [2] 1 » Show All

Leave a Comment

Before you comment: If you are having an issue with a script, please make sure you have read the entire article. Also, please read through the comments because most common issues have already been discussed many times. Thanks.


Be sure to wrap all code in <code></code> tags.