Plugin Directory

Post Expirator

Author: Aaron Axelsen

The Post Expirator plugin allows the user to set expiration dates for both posts and pages. There is a configuration option page in the plugins area that will allow you to seperataly control whether or not posts/pages are wither deleted or changed to draft status.

The plugin hooks into the wp cron processes and runs every hour.

The expiration date can be displayed within the actual post by using the [postexpirator] tag. The format attribute will override the plugin default display format. See the PHP Date Function for valid date/time format options.

[postexpirator] shortcode attributes

  • type - defaults to full - valid options are full,date,time
  • dateformat - format set here will override the value set on the settings page
  • timeformat - format set here will override the value set on the settings page
Tags: , ,

Download

FYI

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(4 ratings)