Post expire date Sidebar for Gutenberg will add a Gutenberg sidebar where the user can enable Post expiration by setting an expiration date and time and a status (draft, trash, private) the Post will revert once expired. Expiration date can be removed or rescheduled at any time. Post expire date for Gutenberg uses wp-cron to schedule the single event, please be sure you have wp-cron active on your installation.
You can print the expiration date and time inside a post, using the shortcode [expiration_datetime] inside your post.
- Upload the ‘post-expire-date-sidebar’ folder to the ‘/wp-content/plugins/’ directory.
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Find the sidebar on your Gutenberg block editor
Does it work only on Gutenberg block editor?
Yes, this plugin was specifically made to add a sidebar in block editor.
Why my post did not expire?
It could be for a couple of reason: first you don’t have wp-cron running, please check your wp-cron is running (there are many plugins, like WP-Cron Status Checker); second, the way wp-cron is triggered is by site visit, scheduled events runs when the date they are scheduled is passed AND someone visit the site
Contributors & Developers
“Post expire date Sidebar” is open source software. The following people have contributed to this plugin.Contributors
Interested in development?
- Bug fixes.
- Added support for pages and custom post type
- Added shortcode support.
- Initial release.