WordPress.org

Plugin Directory

Test out the new Plugin Directory and let us know what you think.

Show/Hide Content at Set Time

Shortcodes to wrap around text, which specify at what date or time that content should appear or disappear, either once, or on a recurring basis.

2.5

Release date: December 14, 2016

  • Addition of else parameter.
  • Retire old (pre v2.0) shortcodes.

2.4

Release date: May 23, 2016

  • Coding standards, logic and performance improvements.

2.3.1

Release date: August 31, 2015

  • Corrected an error in the weekly logic (props Jérôme)

2.3

Release date: December 5, 2014

  • Introduced recurring annual schedule (previously only monthly/weekly/daily). Just use type="annually" in your shortcodes.
  • Code improvements.

2.2

Release date: October 9, 2014

  • Fixed inability to nest shortcodes by introducing distinct copies of the time-restrict-repeat shortcode ([time-restrict-repeat-2] and [time-restrict-repeat-3])

2.1.1

Release date: October 2, 2014

  • Fixed error where content would show all the time when either onday and offday matched, or offdate and ondate matched.

2.1

Release date: August 30, 2014

  • Revised code to allow for onday and offday being the same. Same for ondate and offdate.
  • Changed attributes for [time-restrict] shortcode to be more in line with the rest of the plugin. Now using 'on' and 'off' instead of 'show' and 'hide', though the show and hide attributes will continue to work.

2.0

Release date: August 22, 2014

  • New combined [time-restrict] shortcode allows for hide and show times for the same piece of content
  • New [time-restrict-repeat] shortcode allows you to show and hide content on a daily, weekly or monthly recurring basis
  • Code improvements
  • Legacy shortcode support
  • Enables nesting shortcodes within new shortcodes
  • Plugin now respects site's local time, rather than server time

Requires: 2.5 or higher
Compatible up to: 4.7.2
Last Updated: 3 months ago
Active Installs: 4,000+

Ratings

5 out of 5 stars

Support

6 of 9 support threads in the last two months have been marked resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
1 person says it's broken.

100,1,1 100,1,1
100,1,1
100,1,1
100,2,2
100,1,1 100,1,1
100,1,1
50,2,1
100,1,1
100,1,1
100,3,3
100,1,1
100,1,1
0,1,0