{"id":358930,"date":"2026-08-27T10:25:17","date_gmt":"2026-08-27T10:25:17","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/idara-business-hours\/"},"modified":"2026-08-27T10:24:50","modified_gmt":"2026-08-27T10:24:50","slug":"idara-business-hours","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/idara-business-hours\/","author":15500565,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"1.0.0","tested":"7.1","requires":"6.5","requires_php":"7.4","requires_plugins":null,"header_name":"Idara Business Hours","header_author":"Mohammad Sajid Ansari","header_description":"A lightweight Gutenberg block that displays weekly business hours with a live \"Open now\" status and optional LocalBusiness schema. FSE-ready, no bloat, loads only where used.","assets_banners_color":"c5c5c2","last_updated":"2026-08-27 10:24:50","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/idara.studio\/plugins\/business-hours","header_author_uri":"https:\/\/idara.studio","rating":0,"author_block_rating":0,"active_installs":0,"downloads":29,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"sajidansari65","date":"2026-08-27 10:24:50","revision":3668586}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3668584,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3668584,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256},"icon.svg":{"filename":"icon.svg","revision":3668584,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3668584,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3668584,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":{"idara\/business-hours":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"idara\/business-hours","version":"1.0.0","title":"Business Hours","category":"widgets","icon":"clock","description":"Weekly business hours with a live open-now status, split shifts, special-day overrides, and optional LocalBusiness schema.","keywords":["business hours","opening hours","open now","schema","local seo"],"textdomain":"idara-business-hours","editorScript":"file:.\/index.js","editorStyle":"file:.\/index.css","style":"file:.\/style-index.css","viewScriptModule":"file:.\/view.js","render":"file:.\/render.php","attributes":{"days":{"type":"array","default":[{"closed":false,"slots":[{"open":"09:00","close":"17:00"}]},{"closed":false,"slots":[{"open":"09:00","close":"17:00"}]},{"closed":false,"slots":[{"open":"09:00","close":"17:00"}]},{"closed":false,"slots":[{"open":"09:00","close":"17:00"}]},{"closed":false,"slots":[{"open":"09:00","close":"17:00"}]},{"closed":true,"slots":[]},{"closed":true,"slots":[]}]},"specialHours":{"type":"array","default":[]},"heading":{"type":"string","default":""},"timeFormat":{"type":"string","default":"12"},"showStatus":{"type":"boolean","default":true},"highlightToday":{"type":"boolean","default":true},"hideClosedDays":{"type":"boolean","default":false},"accentColor":{"type":"string","default":"#0f766e"},"timezoneOverride":{"type":"string","default":""},"showSchema":{"type":"boolean","default":false},"businessType":{"type":"string","default":"LocalBusiness"},"businessName":{"type":"string","default":""},"streetAddress":{"type":"string","default":""},"addressLocality":{"type":"string","default":""},"addressRegion":{"type":"string","default":""},"postalCode":{"type":"string","default":""},"addressCountry":{"type":"string","default":""},"telephone":{"type":"string","default":""},"priceRange":{"type":"string","default":""},"businessUrl":{"type":"string","default":""}},"supports":{"html":false,"color":{"text":true,"background":true,"__experimentalDefaultControls":{"text":true,"background":false}},"typography":{"fontSize":true,"lineHeight":true,"__experimentalDefaultControls":{"fontSize":true}},"spacing":{"margin":["top","bottom"],"padding":true},"align":["wide","full"],"interactivity":true},"example":{"attributes":{"heading":"Opening Hours","showStatus":true}}}},"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3668584,"resolution":"1","location":"assets","locale":"","width":1920,"height":1200},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3668584,"resolution":"2","location":"assets","locale":"","width":1920,"height":1200},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3668584,"resolution":"3","location":"assets","locale":"","width":1920,"height":1200},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3668584,"resolution":"4","location":"assets","locale":"","width":1920,"height":1200},"screenshot-5.png":{"filename":"screenshot-5.png","revision":3668584,"resolution":"5","location":"assets","locale":"","width":1920,"height":1200},"screenshot-6.png":{"filename":"screenshot-6.png","revision":3668584,"resolution":"6","location":"assets","locale":"","width":1920,"height":1200}},"screenshots":{"1":"Block in the WordPress block inserter \u2014 find it by searching \"Business Hours\"","2":"Frontend \u2014 weekly hours table with the live \"Open now\" status pill and today's row highlighted","3":"Block settings sidebar \u2014 the weekly hours editor with a split-shift day expanded","4":"Special \/ holiday hours editor \u2014 date-specific overrides","5":"Business details panel \u2014 name, address, and phone used for LocalBusiness schema","6":"Frontend \u2014 a \"Closed \u00b7 Opens Monday at 9:00 AM\" status outside business hours"}},"plugin_section":[],"plugin_tags":[12431,204746,151844,1122,15082],"plugin_category":[],"plugin_contributors":[248558],"plugin_business_model":[],"class_list":["post-358930","plugin","type-plugin","status-publish","hentry","plugin_tags-business-hours","plugin_tags-fse","plugin_tags-gutenberg-block","plugin_tags-local-seo","plugin_tags-opening-hours","plugin_contributors-sajidansari65","plugin_committers-sajidansari65"],"banners":{"banner":"https:\/\/ps.w.org\/idara-business-hours\/assets\/banner-772x250.png?rev=3668584","banner_2x":"https:\/\/ps.w.org\/idara-business-hours\/assets\/banner-1544x500.png?rev=3668584","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/idara-business-hours\/assets\/icon.svg?rev=3668584","icon":"https:\/\/ps.w.org\/idara-business-hours\/assets\/icon.svg?rev=3668584","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/idara-business-hours\/assets\/screenshot-1.png?rev=3668584","caption":"Block in the WordPress block inserter \u2014 find it by searching \"Business Hours\""},{"src":"https:\/\/ps.w.org\/idara-business-hours\/assets\/screenshot-2.png?rev=3668584","caption":"Frontend \u2014 weekly hours table with the live \"Open now\" status pill and today's row highlighted"},{"src":"https:\/\/ps.w.org\/idara-business-hours\/assets\/screenshot-3.png?rev=3668584","caption":"Block settings sidebar \u2014 the weekly hours editor with a split-shift day expanded"},{"src":"https:\/\/ps.w.org\/idara-business-hours\/assets\/screenshot-4.png?rev=3668584","caption":"Special \/ holiday hours editor \u2014 date-specific overrides"},{"src":"https:\/\/ps.w.org\/idara-business-hours\/assets\/screenshot-5.png?rev=3668584","caption":"Business details panel \u2014 name, address, and phone used for LocalBusiness schema"},{"src":"https:\/\/ps.w.org\/idara-business-hours\/assets\/screenshot-6.png?rev=3668584","caption":"Frontend \u2014 a \"Closed \u00b7 Opens Monday at 9:00 AM\" status outside business hours"}],"raw_content":"<!--section=description-->\n<p><strong>Idara Business Hours<\/strong> is a focused, single-purpose Gutenberg block that shows your weekly opening hours in a clean, accessible table \u2014 with a live <strong>\"Open now \/ Closed\"<\/strong> status pill that updates in the visitor's browser against <em>your<\/em> business timezone, so it never goes stale behind page caching.<\/p>\n\n<p>It also emits optional <strong>LocalBusiness schema.org markup<\/strong> (JSON-LD) so search engines can show your hours directly in results.<\/p>\n\n<p><em>Idara (\u0625\u062f\u0627\u0631\u0629) is the Arabic word for \"administration\" or \"management\". Idara Studio is a one-person studio building a growing family of carefully crafted, single-purpose Gutenberg blocks.<\/em><\/p>\n\n<p>Browse the full catalogue, live demos and per-block documentation at <a href=\"https:\/\/idara.studio\/plugins\/business-hours\">idara.studio<\/a>.<\/p>\n\n<h4>Why this and not a full block suite?<\/h4>\n\n<p>Most block plugins ship 30+ blocks you'll never use, slowing your editor and your frontend. Idara plugins are deliberately small. This one loads its CSS and JavaScript <strong>only on pages where the block is present<\/strong> \u2014 never globally.<\/p>\n\n<h4>Features<\/h4>\n\n<ul>\n<li>Weekly hours editor (Monday\u2013Sunday), each day open or closed<\/li>\n<li><strong>Split shifts<\/strong> \u2014 multiple time ranges per day (e.g. 9:00\u201312:00 and 14:00\u201318:00 for a lunch break)<\/li>\n<li>Live <strong>\"Open now \/ Closed\"<\/strong> status, computed in the browser against your business timezone (cache-safe via the WordPress Interactivity API)<\/li>\n<li>\"Opens at\u2026\" \/ \"Closes at\u2026\" hint next to the status<\/li>\n<li><strong>Special \/ holiday hours<\/strong> \u2014 date-specific overrides (e.g. closed Dec 25)<\/li>\n<li>Optional <strong>LocalBusiness JSON-LD<\/strong> schema (name, address, phone, opening hours) for local SEO<\/li>\n<li>12-hour or 24-hour time display<\/li>\n<li>Highlights the current day in the table<\/li>\n<li>Per-block timezone control (defaults to your site timezone)<\/li>\n<li>Inherits theme color and typography via block supports<\/li>\n<li>Full Site Editing (FSE) compatible \u2014 works inside block templates and template parts<\/li>\n<li>Semantic, accessible markup with ARIA labels<\/li>\n<li>No tracking, no external requests, no third-party services<\/li>\n<li>Translation-ready<\/li>\n<\/ul>\n\n<h4>Use cases<\/h4>\n\n<ul>\n<li>Restaurants, caf\u00e9s, and shops showing when they're open<\/li>\n<li>Clinics and professional services with split (morning\/afternoon) hours<\/li>\n<li>Any local business that wants accurate hours in search results via schema<\/li>\n<\/ul>\n\n<h3>Development<\/h3>\n\n<p>Source code and build tools are available on GitHub:\nhttps:\/\/github.com\/sajid-ansari-65\/idara-business-hours<\/p>\n\n<p>The <code>src\/<\/code> directory contains the unminified JavaScript (ES modules, JSX) and SCSS. Run <code>npm install &amp;&amp; npm run build<\/code> to compile.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin folder to <code>\/wp-content\/plugins\/<\/code>, or install via <strong>Plugins \u2192 Add New \u2192 Upload Plugin<\/strong><\/li>\n<li>Activate the plugin through the <strong>Plugins<\/strong> menu<\/li>\n<li>Open any post or page in the block editor<\/li>\n<li>Insert the <strong>Business Hours<\/strong> block where you want it displayed<\/li>\n<li>Set your weekly hours, then configure status, time format, and schema from the block settings sidebar<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"how%20does%20the%20%22open%20now%22%20status%20stay%20accurate%20with%20page%20caching%3F\"><h3>How does the \"Open now\" status stay accurate with page caching?<\/h3><\/dt>\n<dd><p>The status is computed in the visitor's browser using the WordPress Interactivity API, comparing the current time in <em>your<\/em> business timezone against your hours. Because it runs client-side after the page loads, it stays correct even when the HTML is served from a CDN or page cache.<\/p><\/dd>\n<dt id=\"which%20timezone%20is%20used%3F\"><h3>Which timezone is used?<\/h3><\/dt>\n<dd><p>By default the block uses your WordPress site timezone (Settings \u2192 General). You can override it per block if a particular location is in a different timezone.<\/p><\/dd>\n<dt id=\"can%20i%20set%20different%20hours%20for%20the%20morning%20and%20afternoon%3F\"><h3>Can I set different hours for the morning and afternoon?<\/h3><\/dt>\n<dd><p>Yes. Each day supports multiple time ranges (split shifts) \u2014 add as many open\u2192close ranges per day as you need.<\/p><\/dd>\n<dt id=\"does%20it%20support%20holidays%20or%20one-off%20hours%3F\"><h3>Does it support holidays or one-off hours?<\/h3><\/dt>\n<dd><p>Yes. Add <strong>Special hours<\/strong> for specific dates to override the weekly schedule (for example, closed on a public holiday, or reduced hours on a particular day).<\/p><\/dd>\n<dt id=\"what%20is%20the%20localbusiness%20schema%20for%3F\"><h3>What is the LocalBusiness schema for?<\/h3><\/dt>\n<dd><p>It outputs structured data (JSON-LD) describing your business name, address, phone, and opening hours in a format search engines understand, which can improve how your hours appear in local search results. It's optional, and only the fields you fill in are included.<\/p><\/dd>\n<dt id=\"will%20this%20slow%20down%20my%20site%3F\"><h3>Will this slow down my site?<\/h3><\/dt>\n<dd><p>No. The block ships no jQuery and makes zero external requests. Its CSS and JavaScript are enqueued <strong>only on pages that actually contain the block<\/strong> \u2014 never site-wide.<\/p><\/dd>\n<dt id=\"does%20this%20plugin%20track%20users%20or%20send%20data%20anywhere%3F\"><h3>Does this plugin track users or send data anywhere?<\/h3><\/dt>\n<dd><p>No. Everything runs locally on your site. No external requests, no analytics, no tracking.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Weekly business hours with a live &quot;Open now&quot; status plus optional LocalBusiness schema. Lightweight, FSE-ready, loads only where used.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/358930","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=358930"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/sajidansari65"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=358930"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=358930"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=358930"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=358930"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=358930"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=358930"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}