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.0   Updated Thursday, August 28th, 2008 at 10:22pm

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.

Notice: Because this plugin directly modifies the status of posts in the database, and it is the first release, a backup of your WordPress database is recommended. While it has been tested, it is always a good thing to do if a plugin is going to be modifying the database directly.

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

  • 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.

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.

  1. This plugin would work great for my website - and another I am thinking about - any new ideas on a release to accommodate 2.7?

  2. can i schedule in seconds not hours?how?

  3. Please, fix it, it’s a very valuable plugin!!

  4. great, we will be waiting, but we hope not too long :)

  5. A new version of this plugin is going to be released fairly soon that fixes all of the problems some people are experiencing. Stay tuned!

  6. any plans on updating this so it works with the latest version of wordpress? right now it’s not very functional :(

  7. The plugin don’t work for me too, I have 2.6, will you release a new version? THX

  8. 2
    Shane

    Do you plan to release a new version that will work on 2.6.1 or 2.6.2? I have the plugin installed and activated, but it doesn’t work for me. Thanks

  9. I cant get this thing to work on 2.6 at 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.