BACK TO DIRECTORY

WP Post Expires

by X-NicON

3.3
(14 ratings)

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”.

Features:

  • 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)

Screenshots

Select date and time in post

Select date and time in post

Add personal prefix for any post

Add personal prefix for any post

Default settings

Default settings

Plugin Details

Active Installs
2K+
Total Downloads
37,522
Version
1.2.5
Requires WP
5.0
Requires PHP
Tested Up To
5.5.20
Added
2016-08-16
Last Updated
2020-11-02 5:13pm GMT

Ratings

5
7
4
1
3
0
2
1
1
5