WXP Opening Times: Jewish and Islamic holidays

WXP Opening Times: Jewish and Islamic holidays

Details
View on WordPress

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.

Details

Plugin code:
wxp-opening-times-jewish-and-islamic-holidays
Plugin version:
1.0.0
Outdated:
No
WP version:
6.5 or higher
PHP version:
8.1 or higher
Test up to WP version:
7.1.4
Total installations:
0
Last updated:
2026-11-09
Rating:
Times rated:
0
eid
holidays
islamic-holidays
jewish-holidays
opening-hours