Countdown Timer Question
-
Thank you for such a useful plug-in. I have a quick question about extending a shortcode with a new feature.
Currently the shortcode for a countdown timer looks like this:
[wc_countdown date="Jan 1, 2018, 12:00:00 AM" format="dHMs" message="Offer Extended"]
If I wanted to make the timer always countdown from 20 minutes every time the page is loaded, is there a way to pass “current month date year time” + 20 minutes to the shortcode?
Or is there a way to extend your shortcode in my child theme functions.php to include support for a countdown timer with a + sign to signify adding to the current date/time then days:hours:minutes:seconds with numbers saying how long the timer will be…
[wc_countdown date="+0:0:20:0" format="dHMs" message="Offer Extended"]
And then generate a 20 minute countdown timer?
- The topic ‘Countdown Timer Question’ is closed to new replies.