Astrowave Simple Event Calendar

विवरण

Astrowave Simple Event Calendar is a lightweight calendar for shops and facilities. No ACF required.

Features

  • One shortcode: [astrowave_event_calendar]
  • Closed weekdays: Mark weekly closed days
  • Optional public holidays: Off by default (no network). When enabled:
    • Japan (JP) holidays-jp (better coverage for substitute / “国民の休日”)
    • Other countries Nager.Date
  • Manual holidays: Always available — YYYY-MM-DD Name (overrides API on the same date)
  • 3 event types: Normal / Closed / Special
  • PC & mobile: Popup / bottom sheet

How to use

  1. Activate the plugin
  2. Add events (date, type, message, link)
  3. Calendar Notes (Administrators): footnotes, closed weekdays, optional holidays + country, manual holidays
  4. Place [astrowave_event_calendar] on a page

Shortcode

  • [astrowave_event_calendar]

Month: ?cal_month=2026-08 (default: current month)

External services

This plugin can optionally connect to third-party holiday APIs. These requests are off by default. They run only when an administrator enables “public holidays” under Calendar Notes. Results are cached in WordPress transients. API base URLs are fixed in the plugin (users cannot enter arbitrary URLs). If an API fails, the calendar still works; manual holiday lines remain available.

holidays-jp (Japan only, when country

JP) =

  • What: Public JSON of Japanese national holidays (including substitute holidays).
  • When: Once per year of calendar data (cached); only if holidays API is ON and country is JP.
  • Data sent: Year number in the request URL path only. No personal or site user data.
  • Website: https://holidays-jp.github.io/
  • Terms / license (MIT): https://github.com/holidays-jp/holidays-jp.github.io/blob/master/LICENSE
  • Privacy: Hosted on GitHub Pages; see GitHub Privacy Statement — https://docs.github.com/en/site-policy/privacy-policies/github-general-privacy-statement

Nager.Date (other countries)

  • What: Public holidays by country code.
  • When: Once per year + country (cached); only if holidays API is ON and country is not JP.
  • Data sent: Country code and year only. No personal or site user data.
  • Website: https://date.nager.at/
  • Terms: https://date.nager.at/Terms
  • Privacy: https://date.nager.at/Privacy

Not included

Recurring events, date ranges, admin color pickers, unlimited types. Kept Simple.

Astrowave Simple Event Calendar は開館日向けの軽量カレンダーです。

  • ショートコード [astrowave_event_calendar]
  • 定休日の曜日
  • 祝日APIはデフォルトOFF。ON時: 国=JPは holidays-jp、他国は Nager.Date(詳細は External services)
  • カレンダー補足の保存は管理者(manage_options)のみ
  • 手入力の祝日は常に有効(同日は手入力優先)
  • PCポップアップ / スマホボトムシート

स्क्रिनसटहरू

स्थापना

  1. Upload to /wp-content/plugins/
  2. Activate
  3. Place [astrowave_event_calendar] on a page

Remove any theme copy of the same calendar first. CPT slug remains event_calendar.

प्रश्नोत्तर

Why are public holidays off by default?

So sites that do not want external requests (or non-JP sites) are not surprised. Enable only when needed.

Why Japan uses a different API?

holidays-jp includes Japanese substitute holidays and similar cases more reliably. Other countries use Nager.Date.

Can I paste any holiday API URL?

No. Providers are fixed for security and stable formats. Use the country list or manual lines.

समीक्षाहरू

यस प्लगिनको लागि कुनै समीक्षाहरू छैनन्।

योगदानकर्ता र डेभलपरहरू

“Astrowave Simple Event Calendar” खुला स्रोत सफ्टवेयर हो। निम्न व्यक्तिहरूले यो प्लगिनमा योगदान गरेका छन्।

योगदानकर्ताहरू

चेन्जलग

1.1.3

  • Hardened sanitization for admin/POST inputs and nonces.
  • Calendar Notes settings require manage_options.
  • Documented external holiday APIs (terms / privacy) in readme.
  • Replaced direct DB transient wipe with delete_transient().
  • 入力サニタイズ強化。設定保存は管理者のみ。外部APIの規約・プライバシーを readme に記載。

1.1.2

  • Shortcode unified to [astrowave_event_calendar] only.
  • ショートコードを [astrowave_event_calendar] に一本化。

1.1.1

  • Japan (JP) uses holidays-jp again; other countries keep Nager.Date.
  • 国=JP は holidays-jp、他国は Nager に分岐(日本の振替・国民の休日向け)。

1.1.0

  • Public holidays via Nager.Date with country select (off by default).

1.0.1

  • Japan holidays optional (off by default).

1.0.0

  • Initial release.