This is a test for integrating T(-) Countdown with Gutenberg Blocks.
First, we need to tidy up how the Javascript is being used. Here is a basic countdown that uses a gutenberg block set to 2 minutes.
Now let’s try a shortcode with a launch target of an external element.
This is a block with an id of ‘monkeymonk’
[tminus t="+10 secs" launchtarget="#monkeymonk"]monkey is in space⦠space monkey![/tminus]
Wk.
0
0
Tage
0
0
Hours
0
0
Minutes
0
0
Seconds
1
0
Of course, we can still use the old countdown (default), above and below targets:
[tminus t="+10 secs" launchtarget="tophtml"]this is the tophtml target area[/tminus]
Wk.
0
0
Tage
0
0
Hours
0
0
Minutes
0
0
Seconds
1
0
[tminus t="+10 secs" launchtarget="bothtml"]this is the bothtml target area[/tminus]
Wk.
0
0
Tage
0
0
Hours
0
0
Minutes
0
0
Seconds
1
0