LukaCodes Content Expiry Shortcode

LukaCodes Content Expiry Shortcode

Details
View on WordPress

Have you ever published a limited-time offer, an event announcement, or a seasonal promotion — and then forgotten to take it down?

LukaCodes Content Expiry Shortcode solves this in the simplest way possible. Wrap your content with the [lcexp] shortcode, set a deadline, and it disappears automatically when the time comes. No reminders, no manual editing, no stress.

Usage:

[lcexp "30-06-2026 23:59"]This offer ends June 30th![/lcexp]

Once the deadline passes, the content is automatically replaced with a clean expiry message. No broken layouts, no empty spaces.

Accepted date formats:

  • DD-MM-YYYY HH:MM — expires at exact time
  • DD-MM-YYYY — expires at midnight

Free features:

  • [lcexp] shortcode — works in any post, page, or widget
  • Date + time support — set it down to the minute
  • Clean expiry message shown after deadline
  • Works with any WordPress theme
  • Multilingual ready (English, Greek)

Premium features — available at lukacodes.com:

  • Gutenberg block with visual editor and live status indicator
  • Toolbar button — select any text and set expiry like Bold or Italic
  • Sidebar date picker with active/expired preview

Details

Plugin code:
lukacodes-content-expiry-shortcode
Plugin version:
1.0.0
Author:
Outdated:
No
WP version:
6.0 or higher
PHP version:
8.0 or higher
Test up to WP version:
6.9.4
Total installations:
0
Last updated:
2026-03-23
Rating:
Times rated:
0
content-expiry
expire
hide-content
scheduled-content
shortcode