Overview
Show your weekly opening hours and a live “Open now / Closed” badge anywhere on your site, with holidays, special dates, lunch breaks and LocalBusiness schema.
- A live “Open now” badge for visitors
- Holidays and special hours handled
- Fewer calls asking if you are open
Best for: Shops, restaurants and local businesses
Installation
- Download openhours-business-hours.zip from My account › My plugins or from your order email. Do not unzip it.
- In WordPress, go to Plugins › Add New Plugin › Upload Plugin, choose the zip and click Install Now, then Activate.
- Go to OpenHours, set your weekly hours and special dates, then Save.
- Add the "Opening Hours" or "Open Now Badge" block to a page, or paste a shortcode.
Requires WordPress 6.0+, PHP 7.4+. Works with any theme, block themes and page builders.
Features
- Weekly hours with several time slots per day (lunch breaks) and overnight slots (e.g. 20:00–02:00)
- Holidays and special dates: closed all day, or special hours, over one day or a date range
- Live badge: "Open now · Closes at 18:30", "Closing soon · Closes in 12 min", "Closed · Opens tomorrow at 09:00"
- The badge updates by itself every 30 seconds, even on cached pages
- Today is highlighted in the hours card; upcoming special dates are listed
- Light, dark or automatic theme, your accent color, 24h or 12h time
- "Opening Hours" and "Open Now Badge" Gutenberg blocks
- Shortcodes: `[openhours]`, `[openhours_status]`, `[openhours_today]`
- LocalBusiness structured data (schema.org) with your hours and special dates
- Lightweight: no jQuery, no external service, no tracking
- Translation-ready (French included)
Shortcodes
Paste a shortcode in any page, post, widget or page builder text block.
[openhours][openhours_status][openhours_today]
Options of each shortcode are described in the Features above and in the plugin settings page.
Updates
Updates are free. When a new version is out, it appears in Dashboard › Updates of your WordPress site and you can install it in one click, or turn on automatic updates in Plugins. This works for the zip downloaded from your Woo-Plugins account; older copies can be replaced by downloading the latest version from My plugins. See the changelog.
Frequently asked questions
Which shortcode attributes are available?
`[openhours title="Our hours" status="1" specials="1" compact="0"]` `[openhours_status next="1" size="sm|md|lg"]`
The badge shows the wrong status
OpenHours uses the time zone set in Settings › General. Choose a city (e.g. Paris) rather than a UTC offset so daylight saving time is handled.
Does it work with page caching?
Yes. The page carries the next 14 days of hours and the badge computes the status in the visitor's browser.
Still stuck?
Write to us with your WordPress and WooCommerce versions and what you tried: we answer by email.