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]
weeks
0
0
days
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]
weeks
0
0
days
0
0
hours
0
0
minutes
0
0
seconds
1
0
[tminus t="+10 secs" launchtarget="bothtml"]this is the bothtml target area[/tminus]
weeks
0
0
days
0
0
hours
0
0
minutes
0
0
seconds
1
0