Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 801 Bytes

File metadata and controls

22 lines (14 loc) · 801 Bytes

Woocommerce-Shipping-Countdown-Timer

  • Code includes 3 parts: CSS, HTML and JS.

  • Usage:

  1. Add the entire function in "shipping-countdown-timer.php" file to "wp-content -> themes -> functions.php"
  2. 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