
內容簡介
Webtend Business Hours Manager 是一款完整的商業營業時間管理系統,專為 WordPress 設計。此外掛可讓顧客清楚了解營業時間,自動在非營業時間更新為「關閉」狀態,並透過 Schema.org 標記讓搜尋引擎識別營業時間,無需任何程式碼。
【主要功能】
• 每週排程建構器:設定每週每天的開關時間,最多可添加四個時段
• 實時開關狀態:自動顯示當前開關狀態,並提供倒數計時
• 假日與特殊日期管理:標記特定日期為關閉或自訂營業時間
• 時區支援:為您的位置配置專屬時區
• Schema.org 標記:自動輸出 LocalBusiness JSON-LD 腳本
• Gutenberg 區塊:使用原生區塊編輯器插入營業時間表
外掛標籤
開發者團隊
② 後台搜尋「Webtend Business Hours Manager」→ 直接安裝(推薦)
原文外掛簡介
Webtend Business Hours Manager is a complete business hours management system for WordPress. Show your customers exactly when you’re open, automatically update to “Closed” status after hours, and let search engines discover your opening times through Schema.org markup — all without any coding.
Whether you run a local shop, a restaurant, a clinic, or a service business, Webtend Business Hours Manager gives you everything you need in a clean, fast, and developer-friendly package.
✅ Features
Weekly Schedule Builder
Set open and close times for each day of the week. Add multiple time slots per day to handle lunch breaks or split shifts — up to 4 slots per day.
Live Open/Closed Status
A real-time badge automatically shows whether you’re currently open or closed, with a next-open/next-close countdown. Updates via AJAX without page reload.
Holiday & Special Dates Manager
Mark specific dates as closed or with custom hours. Holidays always override the weekly schedule. Easily manage upcoming and past entries from the admin.
Timezone Support
Configure a dedicated timezone for your location. All open/closed calculations run against your local time, not the server clock.
Schema.org Markup
Automatically outputs a LocalBusiness JSON-LD script with your openingHours property. Improves rich results in Google Search — no configuration needed.
Gutenberg Block
Insert your business hours table anywhere using the native block editor. Live server-side preview in the editor. Supports wide/full alignment and colour controls.
Classic Widget
Add business hours to any widget area via Appearance → Widgets. Supports both the block-based widget editor and classic widget screens.
Shortcode
Use [webtend_business_hours] anywhere — pages, posts, sidebars, custom templates. Optional show_status attribute to toggle the live badge.
🔌 Integration
Works with any WordPress theme — block themes, classic themes, and page builders
No template overrides — output is injected via hooks and shortcodes only
AJAX status refresh works without page reload
Zero jQuery dependency — vanilla ES6 throughout
Translation-ready with full .pot file
👨💻 For Developers
Webtend Business Hours is built with extensibility in mind:
Clean PSR-4 namespace structure under WebtendBusinessHours\
Full filter/action API for overriding output, schema data, and status logic
webtend_bh_output_schema filter — conditionally disable JSON-LD per page
webtend_bh_schema_type filter — change LocalBusiness to any Schema.org type
webtend_bh_schema_data filter — add custom fields (address, phone, geo) to the schema
