  {"id":3569,"date":"2024-12-11T15:56:00","date_gmt":"2024-12-11T20:56:00","guid":{"rendered":"https:\/\/www.montclair.edu\/university-communications\/?page_id=3569"},"modified":"2026-02-17T13:46:18","modified_gmt":"2026-02-17T18:46:18","slug":"countdown","status":"publish","type":"page","link":"https:\/\/www.montclair.edu\/university-communications\/web-development-and-experience\/montclair-edu-website-framework\/wordpress-shortcodes\/countdown\/","title":{"rendered":"Countdown"},"content":{"rendered":"<p>The countdown shortcode allows you to put a countdown timer for an event on your page.<\/p>\n<h2>Example<\/h2>\n<span class='countdown' data-end-timestamp='Tue, 31 Dec 2024 05:00:00 +0000'><span class='header'>End of the Year 2024<\/span><span class='output'><span class='item'><span class='number'>0<\/span><span class='unit'>days<\/span><\/span><span class='item'><span class='number'>0<\/span><span class='unit'>hours<\/span><\/span><span class='item'><span class='number'>0<\/span><span class='unit'>minutes<\/span><\/span><span class='item'><span class='number'>0<\/span><span class='unit'>seconds<\/span><\/span><\/span><\/span>\n<h2>Attributes<\/h2>\n<table class=\"responsive-table\">\n<thead>\n<tr>\n<th>Name<\/th>\n<th>Possible Values<\/th>\n<th>Required<\/th>\n<th>Notes<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>label<\/td>\n<td>string<\/td>\n<td>Yes<\/td>\n<td>Text that displays above the timer<\/td>\n<\/tr>\n<tr>\n<td>enddate<\/td>\n<td>date string<\/td>\n<td>Yes<\/td>\n<td>The format <strong>YYYY-MM-DD<\/strong> is preferred.<\/td>\n<\/tr>\n<tr>\n<td>endtime<\/td>\n<td>time string<\/td>\n<td>No<\/td>\n<td>The format <strong>HH:MM:SS<\/strong> is preferred. If no time is entered, midnight is assumed.<\/td>\n<\/tr>\n<tr>\n<td>timezone<\/td>\n<td>timezone string<\/td>\n<td>No<\/td>\n<td>If not entered, &#8220;America\/New_York&#8221; is assumed.<br \/>\n(see <a rel=\"noopener\" href=\"https:\/\/www.php.net\/manual\/en\/timezones.php\" target=\"_blank\">PHP timezone documentation<\/a> for valid timezone strings)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>Code Sample<\/h2>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">&#x5B;countdown enddate=&quot;2019-12-20&quot; label=&quot;End of the Fall Semester&quot;]<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The countdown shortcode allows you to put a countdown timer for an event on your page. Example Attributes 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, [&hellip;]<\/p>\n","protected":false},"author":411,"featured_media":3554,"parent":3552,"menu_order":6,"comment_status":"closed","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"footnotes":""},"class_list":["post-3569","page","type-page","status-publish","has-post-thumbnail","hentry"],"_links":{"self":[{"href":"https:\/\/www.montclair.edu\/university-communications\/wp-json\/wp\/v2\/pages\/3569","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.montclair.edu\/university-communications\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.montclair.edu\/university-communications\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.montclair.edu\/university-communications\/wp-json\/wp\/v2\/users\/411"}],"replies":[{"embeddable":true,"href":"https:\/\/www.montclair.edu\/university-communications\/wp-json\/wp\/v2\/comments?post=3569"}],"version-history":[{"count":3,"href":"https:\/\/www.montclair.edu\/university-communications\/wp-json\/wp\/v2\/pages\/3569\/revisions"}],"predecessor-version":[{"id":4753,"href":"https:\/\/www.montclair.edu\/university-communications\/wp-json\/wp\/v2\/pages\/3569\/revisions\/4753"}],"up":[{"embeddable":true,"href":"https:\/\/www.montclair.edu\/university-communications\/wp-json\/wp\/v2\/pages\/3552"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.montclair.edu\/university-communications\/wp-json\/wp\/v2\/media\/3554"}],"wp:attachment":[{"href":"https:\/\/www.montclair.edu\/university-communications\/wp-json\/wp\/v2\/media?parent=3569"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}