-
Code includes 3 parts: CSS, HTML and JS.
-
Usage:
- Add the entire function in "shipping-countdown-timer.php" file to "wp-content -> themes -> functions.php"
- Add [shipping-countdown-timer] shortcode to any page or post that you want to show
Shortcode attributes: Hour and Minute
Shortcode with attributes usage: [shipping-countdown-timer hour=16 minute=00]
To see the final version as a function, check the "shipping-countdown-timer.php code and follow the shortcode usage instructions to show countdown timer in any page or post.
Comments inside the code will help you to understand better.
Release: Source code is updated as a single function with a shortcode to easier usage.
To-Do: Finish beta, globalize and publish as plugin