Описание
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
Отзывы
Участники и разработчики
«Post expire date Sidebar» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:
УчастникиПеревести «Post expire date Sidebar» на ваш язык.
Заинтересованы в разработке?
Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.
Журнал изменений
1.3.1
- Bug fixes.
- Added support for pages and custom post type
1.1
- Added shortcode support.
1.0
- Initial release.