| 开发者 | gorogoroworks1108 |
|---|---|
| 更新时间 | 2026年10月2日 13:56 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
No, it does not connect to posts or custom post types. Closed days, events, and holidays are all registered directly from the "Settings > Closed Day Calendar" admin screen — it's a simple, standalone mechanism.
Any public holiday data works, as long as it's a CSV file with the date in the first column and the holiday name in the second column. Japan's official "National Holidays" CSV published by the Cabinet Office is supported directly — download it and upload it from "Import Holiday Data" in the settings screen. A new CSV is published on the Cabinet Office site each year, so re-import it whenever you want to update the data.
Yes. When adding an individual entry, fill in an end date in addition to the start date to cover a range such as a year-end/New Year break. Leave the end date blank to register a single day.
Yes. Click "Edit" next to the entry in the list to load its details into the form, make your changes, and click "Update".
Yes. Enabling "Treat holidays as closed days" in the Holiday Display setting will display holidays with the same background color as closed days. Any date individually registered as "Open" will still be shown as a business day, even if it's a holiday.
Yes. Closed days, events, and holidays each have their own background color and text color, set individually with a color picker. For example, if you choose a light background color, you can set a darker text color for readability.
Either shows the same calendar. With the block editor, you can add the "Gorogoro Calendar" block and configure the title, legend visibility, and other options through the UI. With the shortcode, just insert [gorogoro_calendar] directly into a page or post.
On the live front-end, the previous/next month buttons switch months via AJAX without a page reload. In the block editor's preview, button clicks are disabled so that clicking the calendar selects the block instead. Please try the actual preview or the published page to see the navigation in action.
A "Custom HTML" widget or block does not execute shortcodes, so [gorogoro_calendar] will simply appear as text. Please place it in a "Text" widget or a "Paragraph" block instead. Shortcodes work as expected in the content area of pages and posts.
Yes. The plugin's text is in English by default, and a Japanese translation is bundled. It's applied automatically when your site's Site Language is set to Japanese.
.gorogoro-* class names on the calendar, update it to the new .gorocal-* names)