WordPress plugin intelligence profile

LukaCodes Content Expiry Shortcode

We help you show temporary WordPress content until a chosen date and time with the simple [lcexp] shortcode.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 6.9
Current version1.1.1
WordPress coverageTested up to WordPress 6.9
Minimum stackWP 6.0 · PHP 8.0
Directory statusactive
Last directory update24 Mar 20267mo ago
Active installationsNewAdoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records LukaCodes Content Expiry Shortcode version 1.1.1 as active, updated 7mo ago and tested up to WordPress 6.9.

Overview

About this plugin

We created LukaCodes Content Expiry Shortcode for cases where we want to publish content for a limited period and let it expire automatically without having to come back and edit the page later.

With the [lcexp] shortcode, we can wrap any temporary content inside a date-based rule. Until the selected date and time, the content is shown normally. Once that time passes, the plugin replaces it with a clear expiry message.

This makes the plugin useful for many everyday WordPress tasks, such as:

  • limited-time offers
  • temporary announcements
  • event notices
  • holiday messages
  • launch updates
  • short-term promotional text

Instead of removing content manually after a campaign or announcement ends, we can set the expiry date in advance and let the plugin handle it for us.

How we use it

We place the shortcode around the content we want to display temporarily:

[/lcexp]

Before the selected date and time:

the content inside the shortcode is displayed normally.

After the selected date and time:

the content is replaced automatically with the message:

This content is no longer available.

Accepted date formats

We can use the shortcode with the following formats:

  • DD-MM-YYYY HH:MM
  • DD-MM-YYYY

We also support slash-separated dates such as:

  • DD/MM/YYYY HH:MM
  • DD/MM/YYYY

Examples

[/lcexp]

[lcexp "25-12-2026"]Holiday message[/lcexp]

[lcexp "18:30 15-08-2026"]Event reminder[/lcexp]

What we wanted to keep simple

We designed this plugin to stay lightweight and practical. We did not want to add unnecessary setup screens for something that can be handled directly inside the editor with a shortcode.

Features

  • simple shortcode-based usage
  • automatic content expiry by date and time
  • works in posts and pages
  • works in WooCommerce product descriptions and short descriptions
  • supports nested shortcode content through normal shortcode rendering
  • uses the WordPress site timezone
  • lightweight and easy to use
  • multilingual-ready

Premium

We also offer a Premium version at:

com/plugins/content-expiry-shortcode/

In the Premium version, we expand the experience with additional tools such as a visual Gutenberg workflow and faster content insertion options.

Third-Party Service

This plugin integrates with Freemius for optional telemetry, upgrade handling, and the deactivation feedback form.

Freemius is only connected after the site owner explicitly opts in. If the opt-in is declined, no telemetry is sent.

Service provider: Freemius

com

com/terms/

com/privacy/

When a site owner opts in, Freemius may collect basic diagnostic and site data such as the website URL, WordPress version, plugin version, PHP version, language, and activation/deactivation events. If the site owner submits the deactivation form, the selected reason and optional feedback are also sent.

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • content expiration
  • content expiry
  • expire content
  • scheduled content
  • shortcode
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 6.9

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 6.9.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to6.9
Minimum requirementsWordPress 6.0 · PHP 8.0
Update activity24 Mar 20267mo ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.