WordPress.org

Plugin Directory

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.3

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

2.2

  • 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

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

2.1

  • 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

  • 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

1.0.2

  • Code revisions

1.0.1

  • Made function names more unique

1.0

  • Stable public release

Requires: 2.5 or higher
Compatible up to: 4.0.5
Last Updated: 2014-12-5
Active Installs: 1,000+

Ratings

5 out of 5 stars

Support

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

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
100,1,1
100,1,1
100,2,2
100,1,1 100,1,1
100,1,1
50,2,1