Timed Content – bug test

The following (simplified) example was reported not to work properly:

[timed-content-server show="2019-08-17" hide="2019-10-02 09:31 -0700"]

This show after 2019-08-17 and hide after 2019-10-02 09:31 -0700.

[/timed-content-server]

[timed-content-server show="2019-10-10″ hide="2019-11-09"]

And this should show after 2019-10-10 and hide after 2019-11-09.

[/timed-content-server]

Output:

The same example again, but with timezone “America/Chihuahua” instead of “-0700”:

[timed-content-server show="2019-08-17" hide="2019-10-02 09:31 America/Chihuahua"]

This show after 2019-08-17 and hide after 2019-10-02 09:31 America/Chihuahua.

[/timed-content-server]

[timed-content-server show="2019-10-10″ hide="2019-11-09"]

And this should show after 2019-10-10 and hide after 2019-11-09.

[/timed-content-server]

Output:

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”:

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”:

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]

Lightbox with PhotoSwipe

Gallery as Gutenberg “Gallery” block

Please note, that Gutenberg had a bug which caused the images to be displayed smaller as they really are (also see https://github.com/WordPress/gutenberg/issues/13851). If you already created a gallery you may need to remove the images and add them again. You also need to add an additional CSS rule to be able to click the images inside the caption:

figcaption {
    pointer-events: none;
}

Gutenberg single image

Alternative text
Caption

Images with special file names or special characters in the caption

These images use non-ASCII characters in the file name:

“Piëch-Mark-Zero-6.jpg”:

“umlaut-äöü.jpg”:

Caption based on alternative text

This image contains emojis like 😊:

Image with alt attribute and EXIF data but no other caption:

Berlin Tempelhof 2018

Images with the characters ” or ‘ in the caption

The "machine"
The “machine” (alternative text)

 
“Logitech K270” with ‘unifying’ receiver (description)


“So many cables” (caption)

Image without any caption:

Image with a very long text as caption:

This image demonstrates a quite long description.