Unpublish Adds a setting under Publish in the WordPress post editor screen to allow unpublishing a post at a given date. |
A Human Made project. |
Have you ever wished you could set a post to be unpublished automatically at a preset date? Well now you can!
This plugin does one thing : it adds a setting to the post editor screen under the Publish section which allows you to enter a date by which the post will not be published anymore.
- Upload the
unpublish
folder to the/wp-content/plugins/
directory or just upload the ZIP package viaPlugins > Add New > Upload
in your WP Admin. - Activate the plugin through the
Plugins
menu in WordPress. - Place
add_post_type_support( 'post', 'unpublish' );
in your theme's functions.php for example.
Yes, as long as you modify the code accordingly:
$types = array( 'post', 'page' );
foreach( $types as $type ) {
add_post_type_support( $type, 'unpublish' );`
}
= 1.3 =
- Fix bug where unpublished posts can not be restored from trash. Props ginaliao.
= 1.2 =
- Protect meta key
= 1.1 =
- Move unpublish field to appear immediatly below the publish date.
- Alter schedule as post meta updates.
- Match formatting of unpublish and publish time.
- Ensure schedule is removed when posts are trashed.
Created by Human Made for high volume and large-scale sites. Thanks to all our contributors.
Interested in joining in on the fun? Join us, and become human!