Linux 软件免费装
Banner图

Bitkit Opening Hours & Holidays

开发者 bitkit
更新时间 2025年12月12日 18:07
PHP版本: 8.1 及以上
WordPress版本: 6.9
版权: GPLv2 or later
版权网址: 版权信息

标签

widget block opening hours business hours holidays

下载

1.0.0 1.0.1

详情介绍:

Bitkit Opening Hours + Holidays lets you manage business hours, holidays and vacation periods for a single location and display them via shortcode, Gutenberg block or classic widget – including an optional “Now open?” badge and JSON-LD structured data for search engines. What this plugin does Free version: one global location (one set of hours) per site.\ A Pro add-on for multiple locations and extended features is planned, but the free plugin is fully usable on its own. Key features

安装:

  1. Upload the plugin folder opening-hours-holidays to /wp-content/plugins/ or install it via the WordPress plugin installer.
  2. Activate the plugin through Plugins → Installed Plugins.
  3. Go to Settings → Opening Hours to configure:
  4. Timezone, time/date formats
  5. Weekly opening hours
  6. Special days / holidays
  7. Vacation periods
  8. Display options (badge, next change, show closed days)
  9. Add the output on the frontend using:
  10. The “Opening Hours” block in the block editor, or
  11. The classic widget “Opening Hours”, or
  12. One of the shortcodes described below.

屏幕截图:

  • **Gutenberg block** – “Opening Hours” block with inspector controls for view, badge, “next change”, JSON-LD and CTA link.
  • **Frontend grid view** – Weekly table with “Now open” badge and “next change” text.
  • **Grouped view** – Days automatically grouped by identical opening hours.

常见问题:

Does it support multiple locations?

The free version is intentionally kept simple and manages one global set of opening hours per site.\ Support for multiple locations (each with its own timetable, shortcodes and JSON-LD) is planned for a separate Pro add-on.

What schema.org type is used for JSON-LD?

By default the plugin outputs JSON-LD using the LocalBusiness type, your site title as the name and the home URL as the @id/url. The weekly hours and special days are mapped to openingHoursSpecification and specialOpeningHoursSpecification.

Will it work with caching plugins?

Yes. The “open now” status is calculated in PHP and cached internally for a short time using WordPress transients. When you save new opening hours, the plugin automatically invalidates its own cache.\ Be aware that very aggressive full-page caching can still delay the visible change between “open” and “closed” if the cached page is not refreshed.

Can I change the timezone or time format?

Yes. You can set the timezone and formats on the settings screen, and some shortcodes also accept optional timezone, format_time and format_date attributes. The plugin uses PHP’s DateTime internally.

Which languages are supported?

The plugin is fully translation-ready and ships with several .po/.mo files (German, French, Italian, Spanish, Dutch, Danish, Finnish, Swedish, Norwegian (Bokmål), Czech, Polish, Portuguese, Russian, Japanese, Simplified Chinese).\ Once the plugin is published on wordpress.org, translations will be managed via translate.wordpress.org as well.

更新日志:

1.0.1 1.0.0