[WordPress] 外掛分享: NACOSE Business Day Calendar

首頁 › 外掛目錄 › NACOSE Business Day Calendar
全新外掛
安裝啟用
—
尚無評分
2 天前
最後更新
—
問題解決
WordPress 6.0+ PHP 7.4+ v0.4.0 上架:2026-10-25

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.4.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「NACOSE Business Day Calendar」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

NACOSE Business Day Calendar shows a monthly calendar of the days your business is open and closed.

Japanese public holidays are built in. Fixed holidays, “Happy Monday” holidays, the equinoxes, substitute holidays and Citizens’ Holidays are calculated by the plugin for 2000-2099. No external service or API is used.
Regular closing days by rule. Choose weekdays (every Sunday) and “Nth weekday” days (2nd Monday, last Friday) from a simple table. Decide whether public holidays are closing days.
Rules that change over time. If your closing days change from a certain date, add a new rule with its start date. Past months keep showing the old rule.
Temporary closings and special openings. Register a whole period at once (summer break, inventory days), optionally repeating every year (New Year break). A special opening overrides regular closing days and public holidays.
Public holiday adjustments. Remove a holiday or add your own on the settings page, for example after a change of the law, without touching code.
Business hours. Set default hours and different hours for single weekdays, and show them together with your regular closing days.
Easy to show. Add [business_day_calendar] to any page, post or widget. Colors and legend text can be changed.
Accessible. Closed days also carry text for screen readers, not only color.

Shortcode

[business_day_calendar] – this month, with previous / next month links
[business_day_calendar months="3"] – several months
[business_day_calendar month="2027-01"] – a fixed month
[business_day_calendar nav="no" legend="no"] – hide the month links and the legend

[business_day_today] – a line such as “Today (10/21 Wed) is a business day.” It stays correct on pages kept by a page cache, because a small script picks today’s entry in the site time zone.

[business_hours] – business hours and regular closing days, for example “Mon-Fri: 9:30 – 18:30” and “Sunday, 2nd Monday, Public holidays”. Use closed="no" to hide the closing days.

For developers
The filter bdcjp_holidays lets you add, remove or rename public holidays for a year (for example after a change of the law). It receives an array of 'Y-m-d' => 'name' and the year.

延伸相關外掛

文章
Filter
Mastodon