跳到内容

WXP Opening Times: Jewish and Islamic holidays

v1.0.0

Wilko van der Ploeg · 2026年11月9日 上架

Jewish and Islamic holidays for the exception rules of WXP Opening Times.

正在使用
10 以下
评分
暂无
累计下载
187
最近更新
2026年11月9日
需要 WordPress 6.5+已测试到 7.1.5PHP 8.1+

截图

The settings page: choose the calculation of the Islamic calendar, shift the dates, and check the calculated dates of this year and the next.
The settings page: choose the calculation of the Islamic calendar, shift the dates, and check the calculated dates of this year and the next.
Holiday rules in WXP Opening Times, with Yom Kippur, Eid al-Fitr and Eid al-Adha from this add-on.
Holiday rules in WXP Opening Times, with Yom Kippur, Eid al-Fitr and Eid al-Adha from this add-on.

An add-on for the plugin WXP Opening Times (version 1.0.0 or newer). After you activate it, the holiday list in the exceptions (“On [holiday] closed / open from … to …”) has two more groups: Jewish holidays and Islamic holidays. The dates are calculated for every year. Nothing is fetched from the internet, and nothing is added to your pages.

Jewish holidays: Rosh Hashanah (two days), Yom Kippur, Sukkot (first day), Shemini Atzeret, Simchat Torah, Hanukkah (first day), Purim, Passover (first, second, seventh and eighth day), Shavuot (two days) and Tisha B’Av. The dates are exact: the Hebrew calendar is arithmetic. The days that are only kept outside Israel are marked as such.

Islamic holidays: Islamic New Year, Ashura, Mawlid, Isra and Mi’raj, the first day of Ramadan, Laylat al-Qadr, Eid al-Fitr (three days), the Day of Arafah and Eid al-Adha (four days).

About the Islamic dates

The Islamic calendar follows the moon, and each country announces the start of a month after the moon sighting. A calculated date can therefore differ by a day (sometimes two) from the one in your country. Two things help:

  • Choose the calculation: Umm al-Qura (the calendar of Saudi Arabia, needs the PHP “intl” extension) or the tabular calendar. “Automatic” uses Umm al-Qura when it is available.
  • Shift the dates: under “Opening times”, “Holiday dates”, shift all holidays of a month (for example Shawwal for Eid al-Fitr) by one or two days, forwards or backwards.

The same page lists the calculated dates of this year and the next, so you can check them against a calendar.

Evenings

A Jewish or Islamic day starts at sunset on the evening before. The dates here are the daytime of the holiday. If you close earlier on the evening before, add a period rule for that day.

Translations

Ready for translation: help translate it on translate.wordpress.org.

Plums

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

导航

说明

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

© 2026 Plums