WP Post Expires

Plugin Banner

WP Post Expires

by X-NicON

Download
Description

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)
  1. Copy to plugins folder (/wp-content/plugins)

  2. Activate plugin from plugins page in admin interface

  3. Use the Settings->Reading Name screen to configure the plugin

  1. Select date and time in post

    Select date and time in post

  2. Add personal prefix for any post

    Add personal prefix for any post

  3. Default settings

    Default settings

Works Great

By sarahgardnerpointright on November 18, 2021

Works great, I use it on several sites.

Is this plugin no longer being supported?

By Sea Jay (jcollier) on March 8, 2021

Update 3/8/21. Not working with 5.6.2. Several issues from earlier support tickets seem to still be unresolved. The time-picker isn't appearing under the calendar picker. Custom Post Types aren't being expired. I notice that support tickets going back one year haven't been answered. Is this plugin being supported?

working

By nishantvermathebest on March 29, 2019

guys, it is working completely fine. I personally tested on 5.1.1 wordpress. read the installation instruction. Thanks team.

Date Picker Doesn't Work

By Kazam Creative (goldenagemedia) on August 23, 2018

Upon first installation, the date picker doesn't work when trying to set the expiry date. Well, that basically renders this plugin useless. Great idea, but needs to work properly first.

not working

By especially on July 19, 2018

>>This plugin turns posts to a blank page when set a date to expire. same with me. Any ideas?

Break posts after set a date.

By luisserrano on April 29, 2018

This plugin turns posts to a blank page when set a date to expire.

Read Installation Instructions- Yes, it does work with Custom Post Types

By rimell on March 6, 2018

I did not read the installation instructions carefully and thought the plugin would not work on CPTs. However, when I realized I did not configure it properly, I have come back here and changed my review. No issues at the moment. I like that it is a light-weight plugin. Not super fancy., but it works. Not seeing any follow-up from the developer on many user's questions in the support area.

Plug-in uncompatibility

By bennj on March 14, 2017

Doesn't work with SiteOrigin PageBuilder. When activated, PageBuilder doesn’t show up in Post/Page editor.

Broke Admin

By douglaskarr on January 15, 2017

I haven't tried to debug what's wrong, but as soon as I installed the plugin I was unable to see the editor icons nor actually click on the "edit" to change the publishing date or the expiration date. This is a fantastic plugin idea, hope to see it fully functional.

Great plugin - works as expected

By Marcus Kober (marcus.kober) on December 8, 2016

This nice little plugin does for what it's made: it expires your posts. Even custom post types are supported. The option for enabling the plugin on custom post types is a little hidden though...

1.2.5

fix bug loop expire. Tnx @d79 (https://github.com/d79)
versiob wp 5.5.3

1.2.4

fix bugs classic editor/gutenberg js, tnx @micahjsharp

1.2.3

add status in post state
change logic for draft and trash, tnx @micahjsharp
use local wp timezone

1.2.2

support classic editor on wp 5.0+

1.2.1

Small fixes:
https://wordpress.org/support/topic/fatal-error-3074/ ( tnx @marknopfler )
https://wordpress.org/support/topic/fix-js-and-php-error/ ( tnx @lastant )

1.2

use DateTime Picker jQuery-ui
refactoring

1.1

conflicts resolved
fix datetime picker
update datetime picker

1.0.3

small fixes
add Italian translation (tnx, Paolo Centomani)

1.0.2

fix notice and accessing static property

1.0.1

fixed translation

1.0

init1 – Mr. Robot

Back to top