Title: Idara Business Hours
Author: Mohammad Sajid Ansari
Published: <strong>27 août 2026</strong>
Last modified: 11 novembre 2026

---

Recherche d’extensions

![](https://ps.w.org/idara-business-hours/assets/banner-772x250.png?rev=3668584)

![](https://ps.w.org/idara-business-hours/assets/icon.svg?rev=3668584)

# Idara Business Hours

 Par [Mohammad Sajid Ansari](https://profiles.wordpress.org/sajidansari65/)

[Télécharger](https://downloads.wordpress.org/plugin/idara-business-hours.1.0.1.zip)

 * [Détails](https://fr.wordpress.org/plugins/idara-business-hours/#description)
 * [Avis](https://fr.wordpress.org/plugins/idara-business-hours/#reviews)
 *  [Installation](https://fr.wordpress.org/plugins/idara-business-hours/#installation)
 * [Développement](https://fr.wordpress.org/plugins/idara-business-hours/#developers)

 [Support](https://wordpress.org/support/plugin/idara-business-hours/)

## Description

**Idara Business Hours** is a focused, single-purpose Gutenberg block that shows
your weekly opening hours in a clean, accessible table — with a live **« Open now/
Closed »** status pill that updates in the visitor’s browser against _your_ business
timezone, so it never goes stale behind page caching.

It also emits optional **LocalBusiness schema.org markup** (JSON-LD) so search engines
can show your hours directly in results.

_Idara (إدارة) 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._

Browse the full catalogue, live demos and per-block documentation at [idara.studio](https://idara.studio/plugins/business-hours).

#### Why this and not a full block suite?

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**
only on pages where the block is present** — never globally.

#### Features

 * Weekly hours editor (Monday–Sunday), each day open or closed
 * **Split shifts** — multiple time ranges per day (e.g. 9:00–12:00 and 14:00–18:
   00 for a lunch break)
 * Live **« Open now / Closed »** status, computed in the browser against your business
   timezone (cache-safe via the WordPress Interactivity API)
 * « Opens at… » / « Closes at… » hint next to the status
 * **Special / holiday hours** — date-specific overrides (e.g. closed Dec 25)
 * Optional **LocalBusiness JSON-LD** schema (name, address, phone, opening hours)
   for local SEO
 * 12-hour or 24-hour time display
 * Highlights the current day in the table
 * Per-block timezone control (defaults to your site timezone)
 * Inherits theme color and typography via block supports
 * Full Site Editing (FSE) compatible — works inside block templates and template
   parts
 * Semantic, accessible markup with ARIA labels
 * No tracking, no external requests, no third-party services
 * Translation-ready

#### Use cases

 * Restaurants, cafés, and shops showing when they’re open
 * Clinics and professional services with split (morning/afternoon) hours
 * Any local business that wants accurate hours in search results via schema

### Development

Source code and build tools are available on GitHub:
 https://github.com/sajid-ansari-
65/idara-business-hours

The `src/` directory contains the unminified JavaScript (ES modules, JSX) and SCSS.
Run `npm install && npm run build` to compile.

## Captures d’écrans

[⌊Block in the WordPress block inserter — find it by searching "Business Hours"⌉⌊
Block in the WordPress block inserter — find it by searching "Business Hours"⌉[

Block in the WordPress block inserter — find it by searching « Business Hours »

[⌊Frontend — weekly hours table with the live "Open now" status pill and today's
row highlighted⌉⌊Frontend — weekly hours table with the live "Open now" status pill
and today's row highlighted⌉[

Frontend — weekly hours table with the live « Open now » status pill and today’s
row highlighted

[⌊Block settings sidebar — the weekly hours editor with a split-shift day expanded⌉⌊
Block settings sidebar — the weekly hours editor with a split-shift day expanded⌉[

Block settings sidebar — the weekly hours editor with a split-shift day expanded

[⌊Special / holiday hours editor — date-specific overrides⌉⌊Special / holiday hours
editor — date-specific overrides⌉[

Special / holiday hours editor — date-specific overrides

[⌊Business details panel — name, address, and phone used for LocalBusiness schema⌉⌊
Business details panel — name, address, and phone used for LocalBusiness schema⌉[

Business details panel — name, address, and phone used for LocalBusiness schema

[⌊Frontend — a "Closed · Opens Monday at 9:00 AM" status outside business hours⌉⌊
Frontend — a "Closed · Opens Monday at 9:00 AM" status outside business hours⌉[

Frontend — a « Closed · Opens Monday at 9:00 AM » status outside business hours

## Blocs

Cette extension fournit 1 bloc.

 *   Business Hours Weekly business hours with a live open-now status, split shifts,
   special-day overrides, and optional LocalBusiness schema.

## Installation

 1. Upload the plugin folder to `/wp-content/plugins/`, or install via **Plugins  Add
    New  Upload Plugin**
 2. Activate the plugin through the **Plugins** menu
 3. Open any post or page in the block editor
 4. Insert the **Business Hours** block where you want it displayed
 5. Set your weekly hours, then configure status, time format, and schema from the 
    block settings sidebar

## FAQ

### How does the « Open now » status stay accurate with page caching?

The status is computed in the visitor’s browser using the WordPress Interactivity
API, comparing the current time in _your_ 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.

### Which timezone is used?

By default the block uses your WordPress site timezone (Settings  General). You 
can override it per block if a particular location is in a different timezone.

### Can I set different hours for the morning and afternoon?

Yes. Each day supports multiple time ranges (split shifts) — add as many openclose
ranges per day as you need.

### Does it support holidays or one-off hours?

Yes. Add **Special hours** for specific dates to override the weekly schedule (for
example, closed on a public holiday, or reduced hours on a particular day).

### What is the LocalBusiness schema for?

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.

### Will this slow down my site?

No. The block ships no jQuery and makes zero external requests. Its CSS and JavaScript
are enqueued **only on pages that actually contain the block** — never site-wide.

### Does this plugin track users or send data anywhere?

No. Everything runs locally on your site. No external requests, no analytics, no
tracking.

## Avis

Il n’y a aucun avis pour cette extension.

## Contributeurs/contributrices & développeurs/développeuses

« Idara Business Hours » est un logiciel libre. Les personnes suivantes ont contribué
à cette extension.

Contributeurs

 *   [ Mohammad Sajid Ansari ](https://profiles.wordpress.org/sajidansari65/)

[Traduisez « Idara Business Hours » dans votre langue.](https://translate.wordpress.org/projects/wp-plugins/idara-business-hours)

### Le développement vous intéresse ?

[Parcourir le code](https://plugins.trac.wordpress.org/browser/idara-business-hours/),
consulter le [SVN dépôt](https://plugins.svn.wordpress.org/idara-business-hours/),
ou s’inscrire au [journal de développement](https://plugins.trac.wordpress.org/log/idara-business-hours/)
par [RSS](https://plugins.trac.wordpress.org/log/idara-business-hours/?limit=100&mode=stop_on_copy&format=rss).

## Journal des modifications

#### 1.0.1

 * Tested with WordPress 7.1.4.
 * Editor: the 12/24-hour toggle no longer uses the ButtonGroup component, which
   is deprecated in WordPress 6.8 and later. It looks and behaves the same.
 * Editor: an unrecognised timezone no longer stops the block from loading. The 
   preview falls back to the browser’s timezone.
 * Frontend: if a visitor’s browser can’t resolve the business timezone, the server-
   rendered open/closed status stays as it is, without a script error.

#### 1.0.0

 * Initial release

## Méta

 *  Version **1.0.1**
 *  Dernière mise à jour **il y a 1 semaine**
 *  Installations actives **Moins de 10**
 *  Version de WordPress ** 6.5 ou plus **
 *  Testé jusqu’à **7.1.5**
 *  Version de PHP ** 7.4 ou plus **
 *  Langue
 * [English (US)](https://wordpress.org/plugins/idara-business-hours/)
 * Étiquettes
 * [business hours](https://fr.wordpress.org/plugins/tags/business-hours/)[fse](https://fr.wordpress.org/plugins/tags/fse/)
   [Gutenberg block](https://fr.wordpress.org/plugins/tags/gutenberg-block/)[local seo](https://fr.wordpress.org/plugins/tags/local-seo/)
   [Opening Hours](https://fr.wordpress.org/plugins/tags/opening-hours/)
 *  [Vue avancée](https://fr.wordpress.org/plugins/idara-business-hours/advanced/)

## Évaluations

Aucun avis n’a encore été envoyé.

[Votre avis](https://wordpress.org/support/plugin/idara-business-hours/reviews/#new-post)

[Tout voir](https://wordpress.org/support/plugin/idara-business-hours/reviews/)

## Contributeurs

 *   [ Mohammad Sajid Ansari ](https://profiles.wordpress.org/sajidansari65/)

## Support

Quelque chose à dire ? Besoin d’aide ?

 [Voir le forum de support](https://wordpress.org/support/plugin/idara-business-hours/)