WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by Gabriel Serafini v2.0

Display During Conditional Shortcode

Show or hide content based on date ranges, recurring day/time schedules, or custom strtotime expressions. Includes a Gutenberg block and shortcode.

Display During Conditional Shortcode

The facts

Rating
5★ from 3
Active installs
200+
Price
Free
Last updated
7 Feb 2026
Added
Mar 2013
Requires WP
6.1
Tested up to
WP 6.9.7
Requires PHP
7.0
Downloads
5,034

Our analysis

AI-assisted

Display During Conditional Shortcode is a WordPress plugin that allows you to show or hide content based on a schedule. It offers three scheduling modes: Date Range, Recurring, and Custom, providing flexibility in content visibility. The plugin includes a Gutenberg block for easy content management and also supports shortcodes for use in the Classic Editor and other shortcode-compatible areas.

This plugin is suitable for users who need to control content visibility based on specific dates or times, making it ideal for booking sites, event announcements, or any site requiring time-sensitive information.

Best for: This plugin is best for websites that require scheduled content display, such as booking or event sites.

What it does well

  • Offers three scheduling modes for content visibility
  • Includes a Gutenberg block with visual editing controls
  • Supports shortcodes for flexible content placement
  • Allows for fallback messages when content is hidden
  • Active support for PHP version 7.0

Where it falls short

  • Limited information on advanced features or user support

Verdict

Display During Conditional Shortcode provides a straightforward solution for managing time-sensitive content. It is a useful tool for users needing to control visibility based on specific schedules.

From the developer

Gabriel Serafini's own description of Display During Conditional Shortcode, lightly tidied.

Display content conditionally based on a schedule. Choose from three scheduling modes:

  1. Date Range – Show content between specific start and end dates
  2. Recurring – Show content on specific days of the week during a time window
  3. Custom – Use PHP strtotime expressions for flexible scheduling

Gutenberg Block

The Display During block provides a visual editor with:

  • Sidebar controls for all three scheduling modes
  • Date/time pickers for start and end dates
  • Day-of-week checkboxes for recurring schedules
  • Live status indicator (active/inactive)
  • Optional fallback message when content is hidden
  • Copy as Shortcode toolbar button

Shortcodes

The [display_during] shortcode works in the Classic Editor and anywhere shortcodes are supported.

Date range:
[display_during start_day_time=”June 1, 2026 8:00 am” end_day_time=”December 31, 2026 11:59 pm”]Content here[/display_during]

Recurring schedule (new in 2.0):
[display_during days=”mon,wed,fri” start_time=”09:00″ end_time=”17:00″]Office hours content[/display_during]

Custom strtotime:
[display_during start_day_time=”Sun 8:00 am” end_day_time=”Mon 8:00 pm”]Weekend content[/display_during]

With fallback message:
[display_during end_day_time=”June 1, 2026″]Register now![display_during_message]Registration has closed.[/display_during_message][/display_during]

Shortcode Parameters

  • start_day_time – When to start showing content (strtotime string or date)
  • end_day_time – When to stop showing content
  • days – Comma-separated days for recurring mode (mon,tue,wed,thu,fri,sat,sun)
  • start_time – Start time for recurring mode (HH:MM format)
  • end_time – End time for recurring mode (HH:MM format)
  • timezone_location – PHP timezone identifier (defaults to site timezone)
  • message – Plain text fallback message (legacy; use nested shortcode for rich content)

Read the full description on the official page →

Tagged as

Alternatives

Other plugins for extending a page builder.

Essential Addons for Elementor

Elementor addon offering 120+ widgets and templates — Elementor Gallery, Slider, Form, Post Grid, Menu, Accord...

Free 1M+ installs 4.9★ (4,111)
ElementsKit Elementor Addons

Join millions who empower their websites with ElementsKit Elementor Addons. Get templates, & 100+ widgets...

Free 1M+ installs 4.9★ (2,036)
Ultimate Addons for Elementor

Elementor addons with 18+ free widgets, Header & Footer Builder, WooCommerce widgets & templates. Trus...

Free 2M+ installs 4.9★ (2,525)
Premium Addons for Elementor

Elementor Carousel, Mega Menu, Posts List/Slider, WooCommerce Widgets, Display Conditions, AI Abilities, Prema...

Free 600k+ installs 4.9★ (1,677)
Royal Addons for Elementor

Elementor templates, Header footer builder, Elementor Post Grid, Woocommerce Grid builder, Slider, Forms, Gall...

Free 600k+ installs 4.8★ (611)
Disable Gutenberg

Disable Gutenberg Block Editor and restore the Classic Editor and original Edit Post screen (TinyMCE, meta box...

Free 500k+ installs 5★ (733)