Title: Mobal – Business Hours &amp; Open Status
Author: mobalio
Published: <strong>2026 年 8 月 28 日</strong>
Last modified: 2026 年 8 月 28 日

---

搜尋外掛

![](https://ps.w.org/mobal-opening-hours/assets/banner-772x250.png?rev=3670367)

![](https://ps.w.org/mobal-opening-hours/assets/icon-256x256.png?rev=3670367)

# Mobal – Business Hours & Open Status

 由 [mobalio](https://profiles.wordpress.org/mobalio/) 開發

[下載](https://downloads.wordpress.org/plugin/mobal-opening-hours.1.0.0.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/mobal-opening-hours/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/mobal-opening-hours/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/mobal-opening-hours/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/mobal-opening-hours/#developers)

 [技術支援](https://wordpress.org/support/plugin/mobal-opening-hours/)

## 外掛說明

Business hours the way visitors expect them: a clean weekly schedule, upcoming holiday
or exception hours, and a live open/closed status. **Mobal – Business Hours & Open
Status** drops them anywhere on your site with the block editor, Elementor, or a
shortcode.

#### Features

 * **Weekly hours** with split shifts (e.g. lunch and dinner service) and overnight
   hours (e.g. Fri 22:00 – Sat 04:00).
 * **Special hours** for holidays and exceptions. Single days or ranges, closed 
   or with different hours.
 * **Additional hours categories**: kitchen, delivery, takeout, drive-through, breakfast,
   lunch, dinner, happy hour and more.
 * **Open/closed status** and a “temporarily closed” mode.
 * **Block editor, Elementor and shortcode**: one renderer behind all three, so 
   your hours look the same everywhere. Works with any other page builder via the
   shortcode.
 * **Fits your theme**: inherits your fonts and colors. Text, background, size, 
   status and time colors are configurable per instance.
 * **SEO built in**: server-rendered hours (visible without JavaScript) and schema.
   org `openingHoursSpecification` structured data.
 * **10 display languages** built in (English, Finnish, Swedish, Danish, Norwegian,
   German, Dutch, Polish, Slovenian, Russian). Selected automatically from your 
   site language.
 * **Live preview** while you edit.
 * **Optional Mobal sync**: connect a free Mobal profile and manage hours once. 
   They update on your website automatically.

#### Standalone by default

Out of the box the plugin stores your hours in your WordPress database and makes
no external requests, from your server or from your visitors’ browsers.

#### Optional Mobal sync

Update your hours once in Mobal, and your website follows automatically. No more
editing the same holiday hours on your site, on Google, and everywhere else separately.
The sync is optional and off until you connect a profile. See the “External services”
section below for what is sent, when, and to whom.

#### Shortcode

    ```
    [mobal_opening_hours] renders with your saved defaults. Every display option can be overridden per instance, e.g.:

    [mobal_opening_hours variant="compact" has_open_status="1" open_color="#2e7d32" closed_color="#c62828" font_size="14px" alignment="center"]
    ```

With a connected Mobal account, show a specific profile (location) per instance:

    ```
    [mobal_opening_hours profile_id="00000000-0000-0000-0000-000000000000"]
    ```

Tip: the settings page’s live preview builds this shortcode for you. Pick a profile
and press “Copy shortcode”.

### External services

This plugin can connect to one external service: the Mobal API. The connection is
optional and off by default. Out of the box the plugin stores your hours in your
WordPress database and makes no external requests, from your server or from your
visitors’ browsers.

If you connect a Mobal profile in Opening Hours  Connect to Mobal, WordPress periodically
fetches that profile’s hours from Mobal’s API at `https://app.mobal.io/api/mobal/
business-hours/v2`. This is needed to keep the hours on your site in sync with the
hours you manage in Mobal. Your server sends the request when you add a profile,
when you press “Sync now”, and on a 6-hour schedule. The request contains the profile
IDs you configured. Its user agent identifies your site (site URL and plugin version)
for debugging purposes. No visitor data is ever sent. Your visitors’ browsers never
contact Mobal. If the sync ever stops (for example your Mobal trial ends), your 
site keeps showing the last synced hours, and you can switch to manual editing with
one click.

This service is provided by [Mobal](https://www.mobal.io/?utm_source=wordpress.org&utm_medium=referral&utm_campaign=wp_org_repo_listing),
a marketing platform for local businesses. It keeps your business information and
opening hours correct across Google, Apple Maps, Facebook and other channels, and
helps you collect and manage customer reviews, all from one dashboard.

Mobal terms of service: https://www.mobal.io/service-description
 Mobal privacy 
policy: https://www.mobal.io/privacy-policy

## 螢幕擷圖

[⌊Opening hours on a store website, synced from Mobal or entered manually⌉⌊Opening
hours on a store website, synced from Mobal or entered manually⌉[

Opening hours on a store website, synced from Mobal or entered manually

[⌊The native Elementor widget in the builder⌉⌊The native Elementor widget in the
builder⌉[

The native Elementor widget in the builder

[⌊The same hours on a dark theme: colors, alignment and styles follow your brand⌉⌊
The same hours on a dark theme: colors, alignment and styles follow your brand⌉[

The same hours on a dark theme: colors, alignment and styles follow your brand

[⌊The Opening Hours block in the block editor, with live preview⌉⌊The Opening Hours
block in the block editor, with live preview⌉[

The Opening Hours block in the block editor, with live preview

[⌊Connect to Mobal: profiles, multi-location sync and per-location links⌉⌊Connect
to Mobal: profiles, multi-location sync and per-location links⌉[

Connect to Mobal: profiles, multi-location sync and per-location links

[⌊The manual hours editor: split shifts, overnight hours and the weekly grid⌉⌊The
manual hours editor: split shifts, overnight hours and the weekly grid⌉[

The manual hours editor: split shifts, overnight hours and the weekly grid

## 適用於區塊編輯器

這個外掛提供 1 個可供區塊編輯器使用的區塊。

 *   Mobal Opening Hours Show your business hours: weekly schedule, holiday exceptions
   and a live open/closed status. Enter hours in WordPress or sync them from Mobal.

## 安裝方式

 1. Install and activate the plugin.
 2. Go to the **Opening Hours** menu and either connect your Mobal profile or enter
    your hours manually.
 3. Add the **Mobal Opening Hours** block, the Elementor widget, or the `[mobal_opening_hours]`
    shortcode wherever you want the hours to appear.

## 常見問題集

### Does the plugin work without a Mobal account?

Yes, fully. Hours are stored in your WordPress database and nothing is ever sent
to Mobal unless you explicitly connect a profile.

### Which page builders are supported?

The block editor and Elementor natively. Divi, WPBakery, Beaver Builder, Bricks 
and others work via the shortcode: add a Code/Text/Shortcode element and paste `[
mobal_opening_hours]`.

### In which time zone is the open/closed status calculated?

In the visitor’s local time zone (their device clock). Visitors of a local business
are usually in the same time zone as the business, so the status matches in practice.
If many of your visitors are far away, leave the status indicator off. It is off
by default.

### My hours look unstyled for a split second / my optimizer plugin breaks the widget

The widget script must not be concatenated with other scripts. The plugin marks 
it with `data-no-optimize`, `data-cfasync="false"` and `nowprocket`. If your optimizer
ignores those, exclude `businessHoursWidget.js` from JS combining in its settings.

### Does it support multiple locations?

With a connected Mobal account, yes. Add each profile in Opening Hours  Connect 
to Mobal: paste its ID or profile-page URL, and the plugin looks the profile up 
and shows its name for confirmation. The first profile in the list is the default.
New blocks and the plain shortcode use it. Every block and Elementor widget offers
a profile dropdown with the profile names (managed in Mobal), and the shortcode 
takes `profile_id="..."`. Standalone mode stores one set of hours for the site. 
Multiple locations come from connected Mobal profiles, because that is where the
per-location hours are stored.

### Where is the source code?

Everything needed to rebuild the compiled files ships inside the package. The plugin’s
JavaScript sources are in `src/`, with the build configuration in `package.json`
and `webpack.config.js` (rebuild with `npm install && npm run build`). The bundled
hours widget ships unminified, and its TypeScript/Vue sources and build configuration
are in `assets/widget/src/` (rebuild with `npm ci && npm run build:wp`). Each has
a developer readme. Linter configuration and unit tests are development-only and
are not included. The widget bundle contains a dormant fetch path (axios) used only
when the widget is embedded outside WordPress. This plugin never uses it: WordPress
inlines the hours data server-side, so visitors’ browsers make no requests to Mobal.

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈Mobal – Business Hours & Open Status〉的開發相關工作。

參與者

 *   [ mobalio ](https://profiles.wordpress.org/mobalio/)
 *   [ alexmobal ](https://profiles.wordpress.org/alexmobal/)

[將〈Mobal – Business Hours & Open Status〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/mobal-opening-hours)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/mobal-opening-hours/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/mobal-opening-hours/)，或透過
[RSS](https://plugins.trac.wordpress.org/log/mobal-opening-hours/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/mobal-opening-hours/)。

## 變更記錄

#### 1.0.0

 * Initial release.

## 中繼資料

 *  版本 **1.0.0**
 *  最後更新 **1 天前**
 *  啟用安裝數 **少於 10 次**
 *  WordPress 版本需求 ** 6.3 或更新版本 **
 *  已測試相容的 WordPress 版本 **7.1**
 *  PHP 版本需求 ** 7.4 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/mobal-opening-hours/)
 * 標籤:
 * [business hours](https://tw.wordpress.org/plugins/tags/business-hours/)[elementor](https://tw.wordpress.org/plugins/tags/elementor/)
   [holiday hours](https://tw.wordpress.org/plugins/tags/holiday-hours/)[Opening Hours](https://tw.wordpress.org/plugins/tags/opening-hours/)
   [store hours](https://tw.wordpress.org/plugins/tags/store-hours/)
 *  [進階檢視](https://tw.wordpress.org/plugins/mobal-opening-hours/advanced/)

## 評分

這個項目尚無任何評論記錄。

[撰寫評分](https://wordpress.org/support/plugin/mobal-opening-hours/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/mobal-opening-hours/reviews/)

## 參與者

 *   [ mobalio ](https://profiles.wordpress.org/mobalio/)
 *   [ alexmobal ](https://profiles.wordpress.org/alexmobal/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/mobal-opening-hours/)