A simple plugin that allows to set the date for the posts, after which will be performed one of 3 actions: “Add prefix to title”, “Move to drafts”, “Move to trash”.
- Set post expire date and time
- Support custom post type (post and pages by default)
- Action for expired posts: move to drafts, move to trash or add custom prefix for title
- Adds class “post-expired” to post that expired on the site and in admin interface (for custom styles in theme)
Use in theme:
XNPostExpires::isExpired($post_id) XNPostExpires::dateExpiration($post_id, $date_format)
Copy to plugins folder (/wp-content/plugins)
Activate plugin from plugins page in admin interface
Use the Settings->Reading Name screen to configure the plugin
Contributors & Developers
“WP Post Expires” is open source software. The following people have contributed to this plugin.Contributors
“WP Post Expires” has been translated into 4 locales. Thank you to the translators for their contributions.
Translate “WP Post Expires” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
fix bug loop expire. Tnx @d79 (https://github.com/d79)
versiob wp 5.5.3
fix bugs classic editor/gutenberg js, tnx @micahjsharp
add status in post state
change logic for draft and trash, tnx @micahjsharp
use local wp timezone
support classic editor on wp 5.0+
https://wordpress.org/support/topic/fatal-error-3074/ ( tnx @marknopfler )
https://wordpress.org/support/topic/fix-js-and-php-error/ ( tnx @lastant )
use DateTime Picker jQuery-ui
fix datetime picker
update datetime picker
add Italian translation (tnx, Paolo Centomani)
fix notice and accessing static property
init1 – Mr. Robot