WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Display During Conditional Shortcode

Provides ability to use a shortcode to show or hide content depending on time of day, expiration of a certain date and more.

Install via Plugins > Install New

  1. Search for "Display During Conditional Shortcode"
  2. Click the "Install Now" link
  3. Click "Activate Plugin"

Via ZIP / FTP

  1. Unzip the ZIP file and drop the folder straight into your wp-content/plugins directory.
  2. Activate the plugin through the 'Plugins' menu in WordPress.

Use as a shortcode

  1. Insert your [display_during end_day_time="June 27, 2015 10:00 am" message="Sorry, this content no longer available."]CONTENT_TO_DISPLAY[/display_during] shortcode and insert the content you want to display where CONTENT_TO_DISPLAY is and put the message to display if the time isn't valid in the message parameter.
  2. Publish and view post or page to see output.

Requires: 2.7 or higher
Compatible up to: 3.9.1
Last Updated: 2014-4-23
Downloads: 277

Ratings

5 stars
5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

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

100,1,1
100,1,1