Linux 软件免费装
Banner图

Business Hours & Holiday Schedule Manager

开发者 webtendhq
devhasib
更新时间 2026年10月24日 09:29
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPL-2.0-or-later
版权网址: 版权信息

标签

schema opening hours business hours store hours holiday hours

下载

1.0.0 1.0.1 1.0.2 1.0.3

详情介绍:

Business Hours & Holiday Schedule Manager is a business hours plugin for WordPress that shows your customers exactly when you are open. Set your weekly opening hours, add holiday and special-date hours, and display a live Open Now / Closed badge on any page. It also adds Schema.org opening hours markup so search engines can read your hours. It suits local shops, restaurants, cafés, clinics, salons, agencies and any other business with set opening times. No coding is needed, and the plugin makes no external requests. 🎥 See Business Hours in Action: https://youtu.be/vcnv_pp5gAE 📖 View Documentation | 🌐 WebTend What you can do with it Weekly schedule builder Toggle each day on or off and set its opening and closing times. Quick-fill presets (Mon–Fri 9–5, Mon–Sat 10–6, 7 days 9–9) set up a standard week in one click, and "Apply to all days" or "Copy to Mon–Fri" saves retyping when several days share the same hours. Live open/closed status badge Visitors see whether you are open right now and when that changes next, for example "Closes at 5:00 PM". The badge is rendered on the server and refreshed with a lightweight AJAX request. The refresh interval is 60 seconds by default and can be turned off in Settings. Holiday and special dates manager Holidays always override the weekly schedule. Mark a date as closed, or give it reduced hours such as Christmas Eve 10:00–14:00. Add an end date for a multi-day closure such as a winter break, and switch on "Repeat every year" so you only enter Christmas once. Search the list, filter by month and page through large lists. Schema.org opening hours markup The plugin prints a single JSON-LD block with your business name, type, URL, phone number, address, price range, logo and openingHours, built from your weekly schedule. Upcoming holidays are added as special opening hours. Fill in Settings → Business Details and the markup is ready, with no code. Search engines may use structured data like this to understand your business. You can also change the type with a filter, or turn the markup off. Closed notice bar Turn it on under Settings → Closed Notice Bar to show a thin bar at the top of every page while you are closed, for example "We’re currently closed. Opens tomorrow at 9:00 AM". It prints nothing while you are open, is off by default, and can be dismissed by the visitor for the rest of their browser session. Ways to display your hours Works with block themes, classic themes and page builders. Front-end styles and scripts only load on pages that show your hours. Built for speed, accessibility and privacy For developers

安装:

  1. In WordPress, go to Plugins → Add New and search for "Business Hours & Holiday Schedule Manager", or upload the webtend-business-hours folder to /wp-content/plugins/.
  2. Click Activate.
  3. Open Business Hours in the admin sidebar.
  4. On Settings, choose your timezone first.
  5. On Weekly Schedule, set your opening hours and click Save schedule.
  6. On Holidays, add any closed dates or reduced-hours days.
  7. Add the Business Hours block, the widget, or the shortcode [webtend_business_hours] to a page.

屏幕截图:

  • Live open/closed status badge on the frontend
  • Holiday manager — add closed dates or custom hours for special dates
  • Settings panel — timezone, labels, Schema.org toggle
  • Gutenberg block with live editor preview
  • Classic widget in the widget editor

升级注意事项:

1.0.3 Adds multi-day and yearly-repeating holidays, compact display layouts, and an optional closed-notice bar. Fixes opening-time text around holidays and the holiday list on the admin screen. The holidays table is updated automatically. 1.0.2 Adds Business Details (address, phone, business type) and holiday hours to your Schema.org markup, and fixes saving of the schedule, holidays and settings in the admin. Recommended for all users. 1.0.1 Adds quick-fill schedule presets, holiday search and pagination, accessibility improvements, security hardening, and activation and translation fixes. No upgrade steps required. 1.0.0 Initial release. No upgrade steps required.

常见问题:

How do I add business hours to my WordPress website?

Activate the plugin, set your weekly hours under Business Hours → Weekly Schedule, then add the Business Hours block to a page, or paste the shortcode [webtend_business_hours] anywhere.

How do I show an "Open Now" badge?

The live status badge is shown by default with the block, widget, shortcode and Elementor widget. To hide it, use [webtend_business_hours show_status="false"] or switch off "Show live status badge" in the block or widget settings.

Can I show a lunch break or split shifts?

Yes. Each day supports up to 4 time slots. For example, add 09:00–12:00 and 13:00–17:00 to show a lunch break.

How do I set holiday hours?

Go to Business Hours → Holidays, pick the date and either leave "Closed all day" on or turn it off to enter custom opening and closing times. A holiday replaces the weekly schedule for that date.

Does the status use my local time?

Yes. Choose your timezone under Settings. All open/closed calculations use it, not the server clock.

Can I add a holiday that lasts several days?

Yes. On Business Hours → Holidays, set the date and an optional End date. Every day in the range uses the holiday setting. You can also switch on Repeat every year so it applies to the same dates each year.

How do I show only today's hours or just the Open Now badge?

Use [webtend_business_hours display="today"] for one line with today's hours, or [webtend_business_hours display="status"] for the badge alone. The block, widget and Elementor widget have a Layout option with the same choices.

How do I show a message when the business is closed?

Turn on Settings → Closed Notice Bar. The bar appears at the top of every page only while you are closed and includes the next opening time. If you use full-page caching, the bar reflects the time the page was cached.

How does the live status update?

A lightweight AJAX request refreshes the badge every 60 seconds by default. Change the interval under Settings, or set it to 0 to turn automatic refresh off.

Does it add Schema.org opening hours markup?

Yes. The plugin outputs JSON-LD with your business type, name, address, phone number, openingHours (one entry per time slot) and your upcoming holidays as specialOpeningHoursSpecification. Set the details under Settings → Business Details, and turn the markup or the holiday part off under Settings. The plugin cannot guarantee how any search engine will use the data.

How do I add my address and phone number to the schema?

Go to Business Hours → Settings → Business Details and Address, fill in your details and save. Developers can add anything else, such as social profile links, with the webtend_bh_schema_data filter: add_filter( 'webtend_bh_schema_data', function( $schema ) { $schema['sameAs'] = array( 'https://www.facebook.com/yourpage', 'https://www.instagram.com/yourpage', ); return $schema; } );

Can I turn off the schema on one page?

Yes: add_filter( 'webtend_bh_output_schema', function( $output ) { return is_page( 'contact' ) ? false : $output; } );

Does it work with block themes, page builders and Elementor?

Yes. The block, widget and shortcode work with block themes and classic themes. The Elementor widget registers only when Elementor 3.5 or later is active; Elementor is not required.

Does it work with WooCommerce?

Yes. It runs alongside WooCommerce without conflicts. WooCommerce is not required.

Can I manage hours for more than one location?

Not currently. The plugin manages one schedule per site (each site in a multisite network has its own).

Does it contact any external server?

No. There are no remote requests, tracking, or external fonts or scripts.

What happens to my data if I delete the plugin?

Deleting the plugin from the Plugins screen removes its options and the holidays database table. Your pages are not changed, but a leftover shortcode will show as plain text.

Where can I get support?

Post in the plugin support forum. We aim to reply within 2 business days.

更新日志:

1.0.3 1.0.2 1.0.1 1.0.0 — 2025-07-07