Linux 软件免费装
Banner图

WXP Opening Times: Jewish and Islamic holidays

开发者 wvdploeg
更新时间 2026年11月9日 21:10
PHP版本: 8.1 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

opening hours holidays eid jewish holidays islamic holidays

下载

1.0.0

详情介绍:

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: 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.

安装:

  1. Install and activate WXP Opening Times (1.0.0 or newer).
  2. Upload this add-on to /wp-content/plugins/ and activate it.
  3. Add a holiday rule under "Opening times", "Set exceptions", and choose a Jewish or Islamic holiday.
If you deactivate the add-on, the holiday rules stay in your schedule. They are shown as "not available" and do nothing until the add-on is active again.

屏幕截图:

  • Holiday rules in WXP Opening Times, with Yom Kippur, Eid al-Fitr and Eid al-Adha from this add-on.

常见问题:

Does it call an external service?

No. All dates are calculated on your server.

Can I add other holidays?

Yes. WXP Opening Times has the filter wxp_opening_times_holidays for that; this add-on uses it.

更新日志:

1.0.0 0.1.1 0.1.0