T(-) Countdown Gutenberg Test
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 …
T(-) Countdown 2.0 Style Tests
Jedi Dealing with 2, 3 and 4 digitsdays1366hours00minutes00seconds10 Darth Carbonite Carbonlite c-3po c-3po-mini carbonite-responsive circle cloud-city hoth naboo sith TIE-fighter
T(-) Countdown Proper Time Unit Calculation
we should only have to calculate year, month and week time units once, as they will likely change only one time per viewing. Even so, we will need to properly calculate the amount of days, weeks and months remain, depending on how many time units are currently being displayed. We use a test of +410 …
Continue reading “T(-) Countdown Proper Time Unit Calculation”
T(-) Countdown Omitweeks Width Issue
This post investigates issues with the width of a countdown that has the weeks omitted. Since the width should auto-adjust based on the displayed time units. c-3po We’ll start with the c-3po style based on this issue on the WordPress Forums. days0-220-8hours-10minutes-4-6seconds-5-8 days0-220-8hours-10mins.-4-6secs.-5-8 sith days0-220-8hours-10minutes-4-6seconds-5-8 carbonlite days0-220-8hours-10minutes-4-6seconds-5-8 cloud-city days0-220-8hours-10minutes-4-6seconds-5-8 Jedi days0-220-8hours-10minutes-4-6seconds-5-8 circle days0-220-8hours-10minutes-4-6seconds-5-8
T(-) Countdown Time Sync Issue
Test of a new system of recalculating the remaining time to make sure timers stay in sync.
T(-) Countdown Control Exclude Times
T(-) Countdown Control – Separating the Time Units
Normally a countdown groups the units of time (weeks, days, hours, minutes and seconds) into a single countdown unit. But what if you wanted to break out these units and have them displayed on different parts of the page? Step One. We will need to add a new attribute that tells the countdown NOT to …
Continue reading “T(-) Countdown Control – Separating the Time Units”
T(-) Countdown Control – Calculating Labor Day & Other Holidays
Using the new %this year% and %this_easter% placeholders introduced with T(-) Countdown Control version 1.8.0, it’s easy to calculate holidays such as labor day like so: As of version 1.8.2, using these shortcodes will automatically recalculate for next year’s date after the holiday has past. Holidays should be set as recurring ‘Yearly’ and they will …
Continue reading “T(-) Countdown Control – Calculating Labor Day & Other Holidays”