🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
LukaCodes Content Expiry Shortcode icon
Maintained Tested up to 6.9.12 #4 in content expiration

LukaCodes Content Expiry Shortcode

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

Active installs<10New
Downloads · 30d53▼ -8.6% vs prev. 30d
Rating—0 reviews
Health score36/100At risk
All-time downloads487Since Mar 2026
Support resolved—No recent threads
RequiresWP 6.0PHP 8.0+
Downloads · 7d11▼ -42.1% week over week
Our verdict

Consider an alternative

LukaCodes Content Expiry Shortc… shows warning signs in 2026 — compare the alternatives below before installing. Was last updated 8 months ago, and scores 36/100 on our health check.

  • Small user base (<10 active installs)
  • Very few reviews so far
  • Only tested up to WordPress 6.9 (latest is 7.1)

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

134Sep 4Oct 18Dec 2
Yesterday4
Daily average (1y)2
Peak day40Mar 24, 2026
Last 12 months487

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where LukaCodes Content Expiry Sh… stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
content expiration >100 1,091 Best content expiration plugins →
content expiry #84 1,747 Best content expiry plugins →
expire content >100 2,717 Best expire content plugins →
scheduled content >100 5,291 Best scheduled content plugins →
shortcode >100 10,000 Best shortcode plugins →

About LukaCodes Content Expiry Shortcode

From the official readme · v1.1.1

Description

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 "30-06-2026 23:59"]This content will stay visible until the selected date and time.[/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 "30-06-2026 23:59"]This offer ends tonight.[/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:

https://lukacodes.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
Website: https://freemius.com
Terms of service: https://freemius.com/terms/
Privacy policy: https://freemius.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.

Installation

  1. Upload the lukacodes-content-expiry-shortcode folder to the /wp-content/plugins/ directory, or install the plugin through the WordPress Plugins screen.
  2. Activate the plugin through the Plugins screen in WordPress.
  3. Open any post or page where you want to show temporary content.
  4. Add the shortcode with your preferred expiry date and time.

Example:

[lcexp "30-06-2026 23:59"]Your content here[/lcexp]

Changelog

Initial release.

1.1.1

  • Added Freemius integration for optional opt-in analytics and deactivation feedback.
  • Updated the Premium purchase link to the main plugin page.

1.1.0

  • Added WooCommerce integration: the [lcexp] shortcode now works inside product descriptions and short descriptions.
  • Added WooCommerce REST API support: shortcode content is correctly evaluated when product data is fetched via the REST API.

1.0.0

  • Initial release.
  • Added the [lcexp] shortcode for expiring temporary content by date and time.
  • Added support for DD-MM-YYYY HH:MM and DD-MM-YYYY formats.
  • Added multilingual-ready text strings.

Full changelog on WordPress.org →

Screenshots

Using the [lcexp] shortcode inside the WordPress editor.
Using the [lcexp] shortcode inside the WordPress editor.
Example of content shown normally before the expiry date.
Example of content shown normally before the expiry date.
Example of the expiry message displayed after the selected date and time.
Example of the expiry message displayed after the selected date and time.
LukaCodes Content Expiry Shortcode screenshot
LukaCodes Content Expiry Shortcode screenshot

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

Best LukaCodes Content Expiry Shor… alternatives

All content expiration plugins →

FAQ

LukaCodes Content Expiry Shortcode: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is LukaCodes Content Expiry Shortc… free?

Yes. LukaCodes Content Expiry Shortc… is free to download and use from the official WordPress.org plugin directory.

Is LukaCodes Content Expiry Shortc… safe to use in 2026?

LukaCodes Content Expiry Shortc… shows warning signs in 2026 — compare the alternatives below before installing. Was last updated 8 months ago, and scores 36/100 on our health check.

How many websites use LukaCodes Content Expiry Shortc…?

LukaCodes Content Expiry Shortc… is active on <10 WordPress websites and has been downloaded 487 times since it launched in March 2026. It was downloaded 53 times in the last 30 days.

Does LukaCodes Content Expiry Shortc… work with WordPress 7.1?

LukaCodes Content Expiry Shortc… is officially tested up to WordPress 6.9.12, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

What PHP version does LukaCodes Content Expiry Shortc… need?

LukaCodes Content Expiry Shortc… requires PHP 8.0 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was LukaCodes Content Expiry Shortc… last updated?

The latest version, 1.1.1, was released on March 24, 2026 (8 months ago).

Who makes LukaCodes Content Expiry Shortc…?

LukaCodes Content Expiry Shortc… is developed and maintained by LukaCodes.

What are the best alternatives to LukaCodes Content Expiry Shortc…?

The most popular alternatives to LukaCodes Content Expiry Shortc… are MSC Post Expiry (40+ installs), Timed Visibility Block (40+ installs) and Smart Content Expiry (30+ installs).

Powered by PageForge

One template and a spreadsheet. A real page for every search.

PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.

  • CSV and XLSX, plus Google Sheets on Professional and Enterprise
  • Its own title, URL, SEO fields and schema for every page
  • Works with the block editor, Elementor, Divi and Avada
  • Free on WordPress.org, no credit card

↑↓ to move↵ to open