外掛說明
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
使用者評論
參與者及開發者
變更記錄
1.3.1
- Bug fixes.
- Added support for pages and custom post type
1.1
- Added shortcode support.
1.0
- Initial release.