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.

What are valid time settings for start_day_time and end_day_time?

The plugin uses PHP's strtotime() function to decipher start and end times. You can specify either a specific start and end date (i.e. June 27, 2015 10:00 am) or you can also specify a start and end time as days of the week (i.e. start_day_time="Sun 8:00 am" and end_day_time="Mon 8:00 pm". This second method will display content starting Sunday at 8:00 am and stop displaying it the day after (Monday) at 8:00 pm.

Only end_day_time is required. If start_day_time is omitted, now is used for the start_day_time, and end_day_time will determine when to stop displaying the content.

Can I use either Visual or Text mode?

Yes. Both are supported, although if you're entering HTML / CSS as the content, you may want to edit the page using Text mode.

Is support available?

Yes, use the contact form on the ShareThePractice.org website.

Requires: 2.7 or higher
Compatible up to: 4.2.5
Last Updated: 7 months ago
Active Installs: 80+


5 out of 5 stars


Got something to say? Need help?


Not enough data

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