| 开发者 | salihoglu87 |
|---|---|
| 更新时间 | 2026年10月6日 19:52 |
| PHP版本: | 7.2 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[waqtuna_prayer_times] — full prayer times display with date navigation.
[waqtuna_prayer_times date="2026-09-17"] — show prayer times for a specific date.
[waqtuna_next_prayer] — show the next upcoming prayer.
[waqtuna_next_prayer style="compact"] — compact next-prayer display.
[waqtuna_prayer_times style="masjid"] — full-screen masjid display for TV or kiosk screens.
[waqtuna_prayer_times style="masjid" orientation="vertical" rotation="90-right"] — portrait TV with 90° clockwise rotation.
[waqtuna_prayer_times style="gregorian-month"] — full-month timetable for the current Gregorian month.
[waqtuna_prayer_times style="hijri-month"] — full-month timetable for the current Hijri month.
[waqtuna_prayer_times style="gregorian-month" month="4" year="2026"] — optional month and year attributes for monthly views.
External services
This plugin connects to the vaktija.eu API at https://api.vaktija.eu/v3 to obtain location lists and daily prayer times. This is required when the API data source is enabled and the frontend widget loads or changes dates.
Data sent: selected location ID and requested Gregorian date. No WordPress user accounts, personal data, or site credentials are transmitted.
Requests are made over HTTPS when an administrator selects or refreshes a location, when the widget is first rendered, and when visitors change the date in the widget. If the API is unavailable and CSV import is configured, the plugin can use locally stored CSV data instead.
Service provider: vaktija.eu (third-party prayer times API; not affiliated with this plugin).
Terms of use: https://vaktija.eu/
Privacy policy: https://vaktija.eu/ (contact the service operator for current privacy information)
Hijri dates are calculated locally using an embedded Umm al-Qura month table (1990–2040). Dates outside that range fall back to PHP intl when available.
Credits
Prayer time data provided by vaktija.eu.
Month timetable PNG export uses the bundled html-to-image library (MIT license, ~20 KB). It runs in the browser only when a visitor uses Save as image on a monthly timetable. No additional npm or Composer packages are required on the server.
/wp-content/plugins/waqtuna-prayer-times, or install the zip under Plugins → Add New → Upload Plugin.[waqtuna_prayer_times] to a page or post.No. The vaktija.eu API is used without an API key.
Yes. Import a CSV under WAQTUNA → Data Import, then choose Imported CSV data as the source on the Location tab. CSV and API can also act as fallbacks for each other.
Semicolon-separated values:
gregorian_date;hijri_date;fajr;sunrise;dhuhr;asr;maghrib;isha
Yes. Hijri dates for 1990–2040 are calculated from an embedded lookup table, so intl is not required for normal use.
Yes. Use WAQTUNA → Translations to override prayer names, navigation labels, Hijri months, and weekday names.
Yes. Choose a primary and optional secondary language on the Translations tab. Custom overrides apply only when the page is shown in one of those languages; all other languages use WordPress language packs or the plugin defaults.
Prayer times from vaktija.eu are local times for the selected city. WordPress must use the same timezone under Settings → General. After you choose a location, open WAQTUNA → Location — the plugin compares your WordPress timezone with the country of the selected city and shows a warning if they do not match.
Choose the timezone for your mosque or location (for example Europe/Berlin for Bonn, Europe/Sarajevo for Sarajevo). Do not leave WordPress on UTC unless your location is actually in UTC.
[waqtuna_prayer_times style="gregorian-month"] and style="hijri-month"