
外掛標籤
開發者團隊
② 後台搜尋「Adawat Tools: Prayer Times & Hijri Date – أدوات」→ 直接安裝(推薦)
原文外掛簡介
A lightweight Arabic (RTL) plugin by adawat.org. It adds four ready-made widgets through simple shortcodes that work in the block editor (inside a Shortcode block), the classic editor and text widgets:
[adawat_hijri_date] — today’s Hijri date in the Umm al-Qura calendar, computed locally on your server from the full Umm al-Qura month table (1300–1600 AH) in your site’s timezone — no external requests, no JavaScript. Add gregorian="yes" to also show the matching Gregorian date.
[adawat_prayer_times city="riyadh"] — today’s prayer times for any of 188 cities, with a live next-prayer countdown. Times are computed astronomically in the visitor’s browser through the adawat.org widget — no API keys, no accounts. Options: method (mkk, egy, mwl, …), asr (1 standard, 2 Hanafi) and theme.
[adawat_ramadan_countdown] — days and hours left until Ramadan; event="fitr|adha|arafah|hijri" covers Eid al-Fitr, Eid al-Adha, Arafah day and the Hijri new year.
[adawat_zakat] — a mini zakat calculator (2.5% with the gold nisab); gold sets the gold gram price and cur the currency label.
From Settings → أدوات you choose the default city and theme (auto / light / dark) for all widgets at once, and theme="light|dark" on any shortcode overrides it.
Every widget renders a small “مدعوم من أدوات” credit line linking to the matching adawat.org tool page; you can switch it off on the settings page.
Privacy
[adawat_hijri_date] runs entirely on your server and never contacts any external service.
The other shortcodes embed an iframe from adawat.org; the visitor’s browser loads the widget from there like any normal iframe (the visitor’s IP reaches adawat.org as a standard web request). The widgets use no accounts and no ad tracking, and prayer times are computed inside the visitor’s own browser.
بالعربية
إضافة عربية خفيفة من موقع أدوات تضيف لموقعك أربع ودجات جاهزة عبر شورت كودات بسيطة: التاريخ الهجري بتقويم أم القرى (محسوب على خادمك بدون أي طلب خارجي)، ومواقيت الصلاة لـ188 مدينة مع عدّاد للصلاة القادمة، وعدّاد رمضان والأعياد، وحاسبة زكاة المال. تعمل في محرر المكوّنات والمحرر الكلاسيكي وودجات النص. التفاصيل الكاملة بالإنجليزية فوق.
