Linux 软件免费装
Banner图

ITBoffins Live Opening Hours Banner & Table

开发者 itboffins
更新时间 2026年8月18日 23:48
PHP版本: 7.2 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

opening hours business hours live status store hours open closed

下载

1.1.15 1.1.16 1.1.12

详情介绍:

ITBoffins Live Opening Hours Banner & Table helps small businesses show dynamic opening hours on a page, plus a friendly We're open / Sorry, we're closed notice bar. The opening-hours table and live banner both work from the same schedule you save in WordPress. They update in the visitor's browser, so customers see the right opening status even when your site is cached for speed. Why you'll like it

安装:

  1. Upload the itboffins-live-opening-hours folder to /wp-content/plugins/, or install through the Plugins screen.
  2. Activate the plugin.
  3. Go to Live Opening Hours in the admin menu, set your weekly hours, and save.
  4. Optionally add the Live Opening Hours block or the [iboh_opening_hours] shortcode to a page.

屏幕截图:

  • The open/closed notice bar on the front end.
  • The dynamic opening-hours table from the block or shortcode.

升级注意事项:

1.1.16 Adds WordPress 7.1 editor compatibility and hardens special-date validation on modern PHP. 1.1.15 Improves save feedback and fixes accessibility details found during live desktop and mobile verification. 1.1.14 Corrects boundary, overnight, special-date, formatting, accessibility, and editor integration issues found during a full code review. 1.1.13 Past special dates are cleaned out automatically, keeping the one-off changes list current. 1.1.12 WordPress.org review fixes: proper style enqueueing and prefixed shortcode/class names. The shortcode is now [iboh_opening_hours]. 1.1.11 Submission copy now makes the linked live banner and opening-hours table clearer. Upcoming notices are easier to scan, and bank-holiday notice visibility is now separate from manual special dates. 1.1.10 The notice bar now avoids page-load text flicker by showing a brief loading state before the live status appears. 1.1.9 Bank-holiday notices are quieter and same-date bank holidays now take priority over manual special dates. 1.1.8 Front-end opening-hours text now follows the site's own typography. 1.1.7 Adds a helper to insert standard UK bank holidays as closed special dates. 1.1.6 Adds simple controls for sticky notices and top-banner spacing. 1.1.5 Renames the plugin for WordPress.org submission, adds friendlier small-business wording, hardens custom wording output, and refreshes release metadata. 1.1.4 Admin header logo now uses the packaged PNG asset. 1.1.3 Mixed upcoming closed dates and special-hours dates are shown in chronological order. 1.1.2 Upcoming closed dates without labels are now included in grouped banner text. 1.1.1 Special dates are saved more defensively and the admin script is cache-busted. 1.1.0 Show upcoming special dates ahead of time, and optionally run in special-dates-only mode with no weekly hours. Existing settings are preserved. 1.0.0 First release.

常见问题:

What makes it live?

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.

Does it still work if my site is cached or uses WP Rocket?

Yes. If your site uses caching to stay fast, the opening-hours table and open/closed banner still update from the hours you set.

Which timezone is used?

Your site's WordPress timezone (Settings -> General). If you use a named timezone, such as Europe/London, daylight saving is handled automatically.

Does it use my WordPress time format?

Yes. Displayed hours support the wall-clock tokens G, H, g, h, i, s, a, and A, plus backslash-escaped literals. Other PHP date-format characters remain literal because a saved opening time is not a complete timestamp from which timezone- or instant-dependent tokens can be calculated reliably.

Can I quickly add bank holidays?

Yes. In Live Opening Hours, use the bank-holiday helper inside Public special dates & 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.

Can I set a lunch break or split hours?

Yes. Add more than one time range to a day, for example 09:00-12:00 and 13:00-17:00.

Can I open past midnight?

Yes. Set a closing time earlier than the opening time, for example 22:00-02:00.

How do I show hours on a page?

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"].

Does it send any data anywhere?

No. There is no external API and no tracking. Everything runs on your own site. To keep cached pages current, the saved hours, dates, labels, and public notes are included in the page data and evaluated in each visitor's browser. Do not put confidential information in a schedule note.

更新日志:

1.1.16 1.1.15 1.1.14 1.1.13 1.1.12 1.1.11 1.1.10 1.1.9 1.1.8 1.1.7 1.1.6 1.1.5 1.1.4 1.1.3 1.1.2 1.1.1 1.1.0 1.0.0