{"id":6241,"date":"2026-11-19T05:58:09","date_gmt":"2026-11-19T05:58:09","guid":{"rendered":"https:\/\/shapekode.com\/product\/shapeblock\/docs\/business-hours\/"},"modified":"2026-11-19T05:58:09","modified_gmt":"2026-11-19T05:58:09","password":"","slug":"business-hours","status":"publish","type":"docs","link":"https:\/\/shapekode.com\/product\/shapeblock\/docs\/business-hours\/","title":{"rendered":"Business Hours"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">The <strong>Business Hours<\/strong> block shows your opening hours, one row per day. The row for today is highlighted, and a small badge says <strong>Open now<\/strong> or <strong>Closed now<\/strong>. Both follow your site&#8217;s time zone and update by themselves while the page is open. It is free in ShapeBlock.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">See it working on the <a href=\"https:\/\/shapekode.com\/product\/shapeblock\/business-hours\/\">Business Hours demo page<\/a>.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"How to Add Business Hours in WordPress Gutenberg | ShapeBlock Business Hours Block (Free)\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/wSmBRkqYYZU?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Turn the block on<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to <strong>ShapeBlock \u2192 Blocks<\/strong>.<\/li>\n\n\n\n<li>Search for <strong>Business Hours<\/strong> and switch it on.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Add it to a page<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Open a page in the block editor, click the <strong>+<\/strong> button, search for <strong>Business Hours<\/strong> and click or drag the block onto the page. It starts with Monday to Sunday already filled in: 9:00 AM to 6:00 PM on weekdays, 10:00 AM to 4:00 PM on Saturday, and Sunday closed.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Edit the text on the page<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Click any text in the block and type: the title, a day&#8217;s name, the hours, the badge text, the &#8220;Today&#8221; label and the note below. Press <strong>Enter<\/strong> in a day&#8217;s name to add a new row under it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To change a day&#8217;s hours, click its time and type the new ones, for example <strong>8 AM &#8211; 7 PM<\/strong>, <strong>8:30 to 17:00<\/strong> or <strong>9am until 1am<\/strong>. Type <strong>Closed<\/strong> to close that day, <strong>Open 24 hours<\/strong> to keep it open all day, or any other words (&#8220;By appointment&#8221;) to show them instead of times. The same day also opens in the sidebar, where its times can be picked from a clock.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Settings tab<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Days<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Each row has:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Label<\/strong>: the name shown, for example &#8220;Monday&#8221; or &#8220;Mon \u2013 Fri&#8221;.<\/li>\n\n\n\n<li><strong>Weekday<\/strong>: which day of the week the row is. It decides when the row is &#8220;Today&#8221; and when the badge says Open now. Pick <strong>None<\/strong> for rows such as holidays.<\/li>\n\n\n\n<li><strong>Hours<\/strong>: <em>Open from \u2013 to<\/em> (with an opening and a closing time), <em>Closed<\/em>, <em>Open 24 hours<\/em>, or <em>Custom text<\/em> such as &#8220;By appointment&#8221;.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">A closing time earlier than the opening time (8:00 PM to 2:00 AM, say) means the place stays open past midnight; the badge keeps saying Open now until the closing time the next morning. Two rows with the same weekday make a split day, for example a lunch and a dinner shift. Use the arrows to move a row, the copy button to duplicate it and the bin to remove it, and <strong>Add Row<\/strong> for a new one.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Title &amp; Status<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Title<\/strong>, its text and its HTML tag (H2 to H6, P or DIV).<\/li>\n\n\n\n<li><strong>Open now \/ Closed now Badge<\/strong>, the two texts and a <strong>Pulsing Dot<\/strong>. The badge uses the time zone in <strong>Settings \u2192 General<\/strong>, so set it to your business&#8217;s city. It does not show when no row has a weekday.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Time &amp; Labels<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Time Format<\/strong>: 12 hour (9:00 AM) or 24 hour (09:00).<\/li>\n\n\n\n<li><strong>Between Times<\/strong>: what goes between the opening and closing time, &#8221; \u2013 &#8221; by default.<\/li>\n\n\n\n<li><strong>Closed Label<\/strong> and <strong>Open 24 Hours Label<\/strong>.<\/li>\n\n\n\n<li><strong>Highlight Today<\/strong> and its <strong>Today Label<\/strong> (leave the label empty to keep only the highlight).<\/li>\n\n\n\n<li><strong>Note Below<\/strong>: a line under the list, for example &#8220;Holiday hours may vary&#8221;. Press Enter for a new line.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Layout tab<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Rows<\/strong>: <em>Side by side<\/em> (the day on the left, the time on the right) or <em>Stacked<\/em> (the time under the day), with left, center or right alignment for stacked rows.<\/li>\n\n\n\n<li><strong>Line Between Day and Time<\/strong>: none, dotted, dashed or solid, like a menu card.<\/li>\n\n\n\n<li><strong>Badge Position<\/strong>: below the title or beside it.<\/li>\n\n\n\n<li><strong>Spacing<\/strong>: space below the title, between rows and between the day and the time, and the row padding, each set for desktop, tablet and phone.<\/li>\n\n\n\n<li><strong>Divider<\/strong>: a line under each row, solid, dashed or dotted, with its width and color.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Style tab<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Box<\/strong>: background (color or gradient), padding per device, border, border radius and shadow.<\/li>\n\n\n\n<li><strong>Title<\/strong>, <strong>Day<\/strong> and <strong>Time<\/strong>: color and typography per device. Time also has a color for closed days.<\/li>\n\n\n\n<li><strong>Badge<\/strong>: text color and background for the open and the closed state, typography, padding and radius.<\/li>\n\n\n\n<li><strong>Rows<\/strong>: background, a different background for every second row, radius, and the color of the line between day and time.<\/li>\n\n\n\n<li><strong>Today<\/strong>: day and time color, row background and the Today label&#8217;s colors.<\/li>\n\n\n\n<li><strong>Note<\/strong>: color and typography.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Every background takes a color or a gradient.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Advanced tab<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Margin, padding, background, position and hiding on desktop, tablet or phone, the same as every ShapeBlock block.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Questions<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">The badge shows the wrong state.<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Check the time zone in <strong>Settings \u2192 General<\/strong>. Choose a city (for example &#8220;New York&#8221;) rather than a UTC offset, so daylight saving time is followed.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Does it work with a caching plugin?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Yes. The page is printed with the right state, and a small script checks the hours again in the visitor&#8217;s browser every minute, so a cached page still shows the right day and badge.<\/p>\n\n","protected":false},"excerpt":{"rendered":"<p>The Business Hours block shows your opening hours, one row per day. The row for today is highlighted, and a small badge says Open now or Closed now. Both follow your site&#8217;s time zone and update by themselves while the page is open. It is free in ShapeBlock. See it working on the Business Hours [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[16],"doc_tag":[],"class_list":["post-6241","docs","type-docs","status-publish","hentry","doc_category-content-block"],"year_month":"2026-11","word_count":773,"total_views":"3","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":"Content Block","term_url":"https:\/\/shapekode.com\/product\/shapeblock\/docs-category\/content-block\/"}],"doc_tag_info":[],"_links":{"self":[{"href":"https:\/\/shapekode.com\/product\/shapeblock\/wp-json\/wp\/v2\/docs\/6241","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=6241"}],"version-history":[{"count":0,"href":"https:\/\/shapekode.com\/product\/shapeblock\/wp-json\/wp\/v2\/docs\/6241\/revisions"}],"wp:attachment":[{"href":"https:\/\/shapekode.com\/product\/shapeblock\/wp-json\/wp\/v2\/media?parent=6241"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/shapekode.com\/product\/shapeblock\/wp-json\/wp\/v2\/doc_category?post=6241"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/shapekode.com\/product\/shapeblock\/wp-json\/wp\/v2\/doc_tag?post=6241"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}