跳到内容

NACOSE Business Day Calendar

v0.4.0

Hajime Baba · 2026年10月26日 上架

A business day calendar for shops in Japan. Public holidays are added automatically, and closing days like "2nd Monday" can be selected.

正在使用
10 以下
评分
暂无
累计下载
160
最近更新
2026年10月27日
需要 WordPress 6.0+已测试到 7.1.5PHP 7.4+

贡献者

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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums