Plugin Directory

Test out the new Plugin Directory and let us know what you think.
!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.

CF Expiring Content Shortcode

Allows designated content to be shown only until an expiration date/time.

Simply wrap your content in the shortcode and set the date/time you'd like it to expire - once that time is eclipsed, it will no longer appear.

The date format is anything that can be parsed by PHP's strtotime function. A few examples:

  • [expires on="2010-10-01"]Expires on October 1, 2010[/expires]
  • [expires on="Jan 3, 2011"]Expires on January 11, 2011[/expires]
  • [expires on="12/3/2012 23:16:00"]Expires on December 2, 2012 at 11:16pm[/expires]
  • [expires on="2015-01-01 + 15 days"]Expires on January 16, 2015[/expires]

Don't use relative times like 'today' or 'tomorrow', as they will be evaluated from the current time/date - not an anchored time/date.

A plugin by Crowd Favorite; we build Big Things with WordPress.

Requires: 2.5 or higher
Compatible up to: 3.0.5
Last Updated: 6 years ago
Active Installs: 80+


0 out of 5 stars


Got something to say? Need help?


Not enough data

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