Timed Content

This plugin allows to show or hide content at certain times. You need to embed it as shortcode in “Classic” blocks.

The following content is set to show=”2019-02-01 12:30 America/Chicago” hide=”2021-06-02 20:45 America/Chicago”:

I am visible now

The following content is set with show=”2019-02-12 14:55 +0000″:

I am visible now

The following content is set with hide=”2019-02-12 14:55 +0000″:

The following content is set with show=”2019-02-12 14:55 +0000″ and hide=”2099-01-01 00:00 +0000″:

I am visible now

Test of some rules with the old localized date format

The following content is set with hide=”02/11/2019 11:00 Europe/Berlin”:

The following content is set with show=”02/11/2019 11:00 Europe/Berlin”:

I am visible now

The following content is set with hide=”2019-FEB-11 14:55 Europe/Berlin”:

The following content is set with show=”2019-JAN-01 00:01 Europe/Berlin” hide=”2019-FEB-11 14:55 Europe/Berlin”:

The following content is set with show=”2019-JAN-01 00:01 Europe/Berlin” hide=”2020-DEC-01 15:00 Europe/Berlin”:

I am visible now

Testing possible unhandled exceptions

The following content is set with hide=”2019-03-22 03:01:00 -0800″:


Shortcodes used for the examples above:

[timed-content-server show="2019-02-01 12:30 America/Chicago" hide="2021-06-02 20:45 America/Chicago"]
I am visible now
[/timed-content-server]

[timed-content-server show="2019-02-12 14:55 +0000"]
I am visible now
[/timed-content-server]

[timed-content-server hide="2019-02-12 14:55 +0000"]
I am visible now
[/timed-content-server]

[timed-content-server show="2019-02-12 14:55 +0000" hide="2099-01-01 00:00 +0000"]
I am visible now
[/timed-content-server]

The following content is set with <strong>hide="02/11/2019 11:00 Europe/Berlin"</strong>:
[timed-content-server hide="02/11/2019 11:00 Europe/Berlin"]
I am visible now
[/timed-content-server]

[timed-content-server show="02/11/2019 11:00 Europe/Berlin"]
I am visible now
[/timed-content-server]

[timed-content-server hide="2019-FEB-11 14:55 Europe/Berlin"]
I am visible now
[/timed-content-server]

[timed-content-server show="2019-JAN-01 00:01 Europe/Berlin" hide="2019-FEB-11 14:55 Europe/Berlin"]
I am visible now
[/timed-content-server]

[timed-content-server show="2019-JAN-01 00:01 Europe/Berlin" hide="2020-DEC-01 15:00 Europe/Berlin"]
I am visible now
[/timed-content-server]

[timed-content-server hide="2019-03-22 03:01:00 -0800"]
I am visible now
[/timed-content-server]