The countdown shortcode allows you to put a countdown timer for an event on your page.
Example
End of the Year 20240days0hours0minutes0secondsAttributes
Name | Possible Values | Required | Notes |
---|---|---|---|
label | string | Yes | Text that displays above the timer |
enddate | date string | Yes | The format YYYY-MM-DD is preferred. |
endtime | time string | No | The format HH:MM:SS is preferred. If no time is entered, midnight is assumed. |
timezone | timezone string | No | If not entered, “America/New_York” is assumed. (see PHP timezone documentation for valid timezone strings) |
Code Sample
[[countdown enddate="2019-12-20" label="End of the Fall Semester"]]