{"id":2082,"date":"2026-10-14T04:39:21","date_gmt":"2026-10-14T04:39:21","guid":{"rendered":"https:\/\/shapekode.com\/product\/shapeblock\/?post_type=docs&#038;p=2082"},"modified":"2026-10-18T04:05:28","modified_gmt":"2026-10-18T04:05:28","password":"","slug":"countdown","status":"publish","type":"docs","link":"https:\/\/shapekode.com\/product\/shapeblock\/docs\/countdown\/","title":{"rendered":"Countdown"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">The Countdown Block displays a live countdown to a specified date and time, showing the remaining days, hours, minutes, and seconds. Customize the target date, unit labels, number and label typography, colors, separators, item backgrounds, borders, shadows, spacing, and responsive alignment to match your website design.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to Add a Countdown Block<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Step 1: Add the Countdown Block<\/h3>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>Open the page or post where you want to display the countdown.<\/li>\n\n\n\n<li>Click the <strong>+ (Add Block)<\/strong> button in the Gutenberg editor.<\/li>\n\n\n\n<li>Search for <strong>Countdown<\/strong>.<\/li>\n\n\n\n<li>Select the <strong>Countdown Block<\/strong> to insert it into your page.<\/li>\n\n\n\n<li>Select the block to open its settings in the sidebar.<\/li>\n\n\n\n<li>Set the target date and time, customize the countdown labels, and adjust the layout and styling.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1225\" height=\"241\" src=\"https:\/\/shapekode.com\/product\/shapeblock\/wp-content\/uploads\/2026\/10\/image-94.png\" alt=\"\" class=\"wp-image-2435\" srcset=\"https:\/\/shapekode.com\/product\/shapeblock\/wp-content\/uploads\/2026\/10\/image-94.png 1225w, https:\/\/shapekode.com\/product\/shapeblock\/wp-content\/uploads\/2026\/10\/image-94-300x59.png 300w, https:\/\/shapekode.com\/product\/shapeblock\/wp-content\/uploads\/2026\/10\/image-94-768x151.png 768w, https:\/\/shapekode.com\/product\/shapeblock\/wp-content\/uploads\/2026\/10\/image-94-1024x201.png 1024w\" sizes=\"auto, (max-width: 1225px) 100vw, 1225px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Step 2: Configure the Countdown Block<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The available tabs are:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Settings:<\/strong> Set the target date and time and customize the labels for days, hours, minutes, and seconds.<\/li>\n\n\n\n<li><strong>Layout:<\/strong> Choose whether labels appear below the numbers and configure content alignment and spacing.<\/li>\n\n\n\n<li><strong>Style:<\/strong> Customize the countdown items, separators, number typography, number colors, and label typography and colors.<\/li>\n\n\n\n<li><strong>Advanced:<\/strong> Configure spacing and background settings for the entire Countdown Block.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Settings Tab<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">1. Content<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Target Date:<\/strong> Select the date and time when the countdown should end. If you leave this field empty, the countdown defaults to 24 hours from the current time.<\/li>\n\n\n\n<li><strong>Days Label:<\/strong> Customize the label displayed for days. For example, enter <code>Days<\/code>.<\/li>\n\n\n\n<li><strong>Hours Label:<\/strong> Customize the label displayed for hours. For example, enter <code>Hours<\/code>.<\/li>\n\n\n\n<li><strong>Minutes Label:<\/strong> Customize the label displayed for minutes. For example, enter <code>Minutes<\/code>.<\/li>\n\n\n\n<li><strong>Seconds Label:<\/strong> Customize the label displayed for seconds. For example, enter <code>Seconds<\/code>.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1091\" height=\"558\" src=\"https:\/\/shapekode.com\/product\/shapeblock\/wp-content\/uploads\/2026\/10\/image-95.png\" alt=\"\" class=\"wp-image-2436\" srcset=\"https:\/\/shapekode.com\/product\/shapeblock\/wp-content\/uploads\/2026\/10\/image-95.png 1091w, https:\/\/shapekode.com\/product\/shapeblock\/wp-content\/uploads\/2026\/10\/image-95-300x153.png 300w, https:\/\/shapekode.com\/product\/shapeblock\/wp-content\/uploads\/2026\/10\/image-95-766x392.png 766w\" sizes=\"auto, (max-width: 1091px) 100vw, 1091px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Layout Tab<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">1. Layout<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Display Label Under Number:<\/strong> Enable this option to display each unit label below its countdown number. Disable it to display the labels inline with the numbers.<\/li>\n\n\n\n<li><strong>Content Alignment:<\/strong> Choose how the countdown content is aligned when labels are displayed below the numbers.\n<ul class=\"wp-block-list\">\n<li><strong>Left:<\/strong> Align the content to the left.<\/li>\n\n\n\n<li><strong>Center:<\/strong> Align the content to the center.<\/li>\n\n\n\n<li><strong>Right:<\/strong> Align the content to the right.<\/li>\n\n\n\n<li>Alignment can be configured separately for desktop, tablet, and mobile devices.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Mid Gap (px):<\/strong> Set the spacing between the countdown units in pixels. The gap can be configured separately for desktop, tablet, and mobile devices.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"297\" src=\"https:\/\/shapekode.com\/product\/shapeblock\/wp-content\/uploads\/2026\/10\/image-96-1024x297.png\" alt=\"\" class=\"wp-image-2437\" srcset=\"https:\/\/shapekode.com\/product\/shapeblock\/wp-content\/uploads\/2026\/10\/image-96-1024x297.png 1024w, https:\/\/shapekode.com\/product\/shapeblock\/wp-content\/uploads\/2026\/10\/image-96-300x87.png 300w, https:\/\/shapekode.com\/product\/shapeblock\/wp-content\/uploads\/2026\/10\/image-96-766x222.png 766w, https:\/\/shapekode.com\/product\/shapeblock\/wp-content\/uploads\/2026\/10\/image-96.png 1135w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Style Tab<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">1. Item<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Item Background:<\/strong> Set a solid background color or gradient for each countdown item.<\/li>\n\n\n\n<li><strong>Item Border:<\/strong> Customize the border around each countdown item, including its width, style, and color.<\/li>\n\n\n\n<li><strong>Item Box Shadow:<\/strong> Add and customize a shadow around each countdown item.<\/li>\n\n\n\n<li><strong>Item Border Radius:<\/strong> Adjust the roundness of each countdown item&#8217;s corners.<\/li>\n\n\n\n<li><strong>Item Padding:<\/strong> Adjust the inner spacing around the content of each countdown item. Padding can be configured separately for desktop, tablet, and mobile devices.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">2. Separator<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Separator:<\/strong> Choose how the countdown units are separated.\n<ul class=\"wp-block-list\">\n<li><strong>Space:<\/strong> Separate the units with space.<\/li>\n\n\n\n<li><strong>Bullets:<\/strong> Display bullet separators.<\/li>\n\n\n\n<li><strong>Dash:<\/strong> Display dash separators.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Separator Color:<\/strong> Set a solid color or gradient for the separator. This option is available when <strong>Bullets<\/strong> or <strong>Dash<\/strong> is selected.<\/li>\n\n\n\n<li><strong>Separator Position X (px):<\/strong> Adjust the horizontal position of the separator in pixels. This option is available when <strong>Bullets<\/strong> or <strong>Dash<\/strong> is selected.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">3. Days<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Number Typography:<\/strong> Customize the typography of the days number. The settings can be configured separately for desktop, tablet, and mobile devices.<\/li>\n\n\n\n<li><strong>Number Color:<\/strong> Set the color of the days number.<\/li>\n\n\n\n<li><strong>Label Color:<\/strong> Set the color of the days label.<\/li>\n\n\n\n<li><strong>Label Typography:<\/strong> Customize the typography of the days label. The settings can be configured separately for desktop, tablet, and mobile devices.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">4. Hours<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Number Typography:<\/strong> Customize the typography of the hours number. The settings can be configured separately for desktop, tablet, and mobile devices.<\/li>\n\n\n\n<li><strong>Number Color:<\/strong> Set the color of the hours number.<\/li>\n\n\n\n<li><strong>Label Color:<\/strong> Set the color of the hours label.<\/li>\n\n\n\n<li><strong>Label Typography:<\/strong> Customize the typography of the hours label. The settings can be configured separately for desktop, tablet, and mobile devices.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">5. Minutes<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Number Typography:<\/strong> Customize the typography of the minutes number. The settings can be configured separately for desktop, tablet, and mobile devices.<\/li>\n\n\n\n<li><strong>Number Color:<\/strong> Set the color of the minutes number.<\/li>\n\n\n\n<li><strong>Label Color:<\/strong> Set the color of the minutes label.<\/li>\n\n\n\n<li><strong>Label Typography:<\/strong> Customize the typography of the minutes label. The settings can be configured separately for desktop, tablet, and mobile devices.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">6. Seconds<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Number Typography:<\/strong> Customize the typography of the seconds number. The settings can be configured separately for desktop, tablet, and mobile devices.<\/li>\n\n\n\n<li><strong>Number Color:<\/strong> Set the color of the seconds number.<\/li>\n\n\n\n<li><strong>Label Color:<\/strong> Set the color of the seconds label.<\/li>\n\n\n\n<li><strong>Label Typography:<\/strong> Customize the typography of the seconds label. The settings can be configured separately for desktop, tablet, and mobile devices.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1478\" height=\"732\" src=\"https:\/\/shapekode.com\/product\/shapeblock\/wp-content\/uploads\/2026\/10\/image-97.png\" alt=\"\" class=\"wp-image-2438\" srcset=\"https:\/\/shapekode.com\/product\/shapeblock\/wp-content\/uploads\/2026\/10\/image-97.png 1478w, https:\/\/shapekode.com\/product\/shapeblock\/wp-content\/uploads\/2026\/10\/image-97-300x149.png 300w, https:\/\/shapekode.com\/product\/shapeblock\/wp-content\/uploads\/2026\/10\/image-97-767x380.png 767w, https:\/\/shapekode.com\/product\/shapeblock\/wp-content\/uploads\/2026\/10\/image-97-1024x507.png 1024w\" sizes=\"auto, (max-width: 1478px) 100vw, 1478px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Advanced Tab<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The Advanced tab controls spacing and background settings for the entire Countdown Block, not the individual countdown items.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">1. Spacing<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Padding:<\/strong> Set the outer padding around the Countdown Block. Values can be configured separately for desktop, tablet, and mobile devices.<\/li>\n\n\n\n<li><strong>Margin:<\/strong> Set the outer margin around the Countdown Block. Values can be configured separately for desktop, tablet, and mobile devices.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">2. Background<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Background:<\/strong> Set a solid background color or gradient for the entire Countdown Block.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>The Countdown Block displays a live countdown to a specified date and time, showing the remaining days, hours, minutes, and seconds. Customize the target date, unit labels, number and label typography, colors, separators, item backgrounds, borders, shadows, spacing, and responsive alignment to match your website design. How to Add a Countdown Block Step 1: Add [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[19],"doc_tag":[],"class_list":["post-2082","docs","type-docs","status-publish","hentry","doc_category-showcase-block"],"year_month":"2026-10","word_count":826,"total_views":"6","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"Sojib","author_nicename":"shapekode-admin","author_url":"https:\/\/shapekode.com\/product\/shapeblock\/author\/shapekode-admin\/"},"doc_category_info":[{"term_name":"Showcase Block","term_url":"https:\/\/shapekode.com\/product\/shapeblock\/docs-category\/showcase-block\/"}],"doc_tag_info":[],"_links":{"self":[{"href":"https:\/\/shapekode.com\/product\/shapeblock\/wp-json\/wp\/v2\/docs\/2082","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/shapekode.com\/product\/shapeblock\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/shapekode.com\/product\/shapeblock\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/shapekode.com\/product\/shapeblock\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/shapekode.com\/product\/shapeblock\/wp-json\/wp\/v2\/comments?post=2082"}],"version-history":[{"count":1,"href":"https:\/\/shapekode.com\/product\/shapeblock\/wp-json\/wp\/v2\/docs\/2082\/revisions"}],"predecessor-version":[{"id":2439,"href":"https:\/\/shapekode.com\/product\/shapeblock\/wp-json\/wp\/v2\/docs\/2082\/revisions\/2439"}],"wp:attachment":[{"href":"https:\/\/shapekode.com\/product\/shapeblock\/wp-json\/wp\/v2\/media?parent=2082"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/shapekode.com\/product\/shapeblock\/wp-json\/wp\/v2\/doc_category?post=2082"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/shapekode.com\/product\/shapeblock\/wp-json\/wp\/v2\/doc_tag?post=2082"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}