WordPress.org

Plugin Directory

!This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Simple Post Expiration

A simple plugin that allows you to set an expiration date on posts. Once a post is expired, "Expired" will be prefixed to the post title.

A simple plugin that allows you to set an expiration date on posts. Once a post is expired, "Expired" will be prefixed to the post title.

You can show the expiration status of a post using the [expires] short code.

The [expires] short code accepts 5 optional parameters:

  • expires_on - The text to be shown when a post has not yet expired. Default: This item expires on: %s

  • expired - The text to be shown when a post is expired. Default: This item expired on: %s

  • date_format - The format the expiration date should be displayed in

  • class - The class or classes given to the DIV element

  • id - The ID given to the DIV element

The %s will be replaced with the expiration date.

Have you found a bug or have a suggestion or improvement you'd like to submit? This plugin is available on Github and pull requests are welcome!

Requires: 3.6 or higher
Compatible up to: 4.0.13
Last Updated: 2 years ago
Active Installs: 1,000+

Ratings

5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1