| 开发者 | itboffins |
|---|---|
| 更新时间 | 2026年7月10日 20:47 |
| PHP版本: | 7.2 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
itboffins-live-opening-hours folder to /wp-content/plugins/, or install through the Plugins screen.[iboh_opening_hours] shortcode to a page.The page table and notice bar use your saved schedule in the visitor's browser. That lets the open/closed message and today's row stay current without you editing the page.
Yes. If your site uses caching to stay fast, the opening-hours table and open/closed banner still update from the hours you set.
Your site's WordPress timezone (Settings -> General). If you use a named timezone, such as Europe/London, daylight saving is handled automatically.
Yes. In Live Opening Hours, use the bank-holiday helper inside Holidays & one-off changes. Choose England & Wales, Scotland, or Northern Ireland, pick the year, and add the standard dates as closed special dates. One-off public holidays can still be added manually.
Yes. Add more than one time range to a day, for example 09:00-12:00 and 13:00-17:00.
Yes. Set a closing time earlier than the opening time, for example 22:00-02:00.
Use the Live Opening Hours block in the editor, or paste one of these shortcodes into a page: [iboh_opening_hours show="table"], [iboh_opening_hours show="status"], or [iboh_opening_hours show="both"].
No. There is no external API and no tracking. Everything runs on your own site.
<style> tag into the enqueued stylesheet, gated by a small enqueued head script.[iboh_opening_hours] and the bootstrap class is IBOH_Plugin, so every public name carries the plugin prefix.init, so translated defaults no longer trigger the WordPress 6.7+ early-textdomain notice.itboffins-live-opening-hours text domain and package slug.