Linux 软件免费装
Banner图

WAQTUNA Prayer Times

开发者 salihoglu87
更新时间 2026年10月6日 19:52
PHP版本: 7.2 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

shortcode islam hijri mosque prayer times

下载

1.3.5

详情介绍:

WAQTUNA adds prayer time widgets to your WordPress site through simple shortcodes. It is built for mosques and Islamic centers that want accurate, maintainable prayer times without manual daily updates. Prayer times are loaded from the vaktija.eu API. Choose a location in the admin, and times are fetched and cached automatically. You can also import a CSV file as the primary source or as a fallback when the API is unavailable. This plugin is not affiliated with vaktija.eu. It uses their public API as a data source. Features Shortcodes [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.

安装:

  1. Upload the plugin folder to /wp-content/plugins/waqtuna-prayer-times, or install the zip under Plugins → Add New → Upload Plugin.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. Open WAQTUNA → Location, select your country and location, and save.
  4. If the Location tab shows a timezone warning, set Settings → General → Timezone to match your city (prayer times from vaktija.eu are local wall-clock times).
  5. Add [waqtuna_prayer_times] to a page or post.

屏幕截图:

  • Masjid full-screen display for TV and kiosk screens
  • Monthly prayer timetable with Islamic key dates
  • Next prayer widget with live countdown

升级注意事项:

1.3.5 Month timetable improvements (footer lines, secondary calendar label, dark theme readability), plus theme="light|dark|auto" shortcode override for all display styles. 1.3.4 Fixes plugin activation on PHP 7.2–7.4 and WordPress.org script enqueue compliance. 1.3.3 Compatibility fix for servers without mbstring; translation and label fixes. 1.3.1 Month timetable layout fixes for Divi and mobile, translated column headers, and improved dark-theme styling. 1.3.0 New monthly timetable shortcodes. Configure logo, heading, and background under WAQTUNA → Display → Month timetable. 1.2.3 Frontend data source credit is off by default. Enable it under WAQTUNA → Display if you want it shown. 1.2.2 Masjid TV rotation fixes and improved 90° layout countdown placement. 1.2.1 Masjid shortcode rotation fix. Use rotation="90-right", rotation="90-left", or rotation="180" on [waqtuna_prayer_times style="masjid"]. 1.2.0 New masjid TV display. Add [waqtuna_prayer_times style="masjid"] to a dedicated page and configure it under WAQTUNA → Display → Masjid Display. 1.1.3 Renamed to WAQTUNA Prayer Times. Update shortcodes to [waqtuna_prayer_times] and [waqtuna_next_prayer]. 1.1.2 Responsive layout support. Review WAQTUNA → Display to set layouts for mobile, tablet, and desktop. 1.1.1 Layout polish, admin usability improvements, and color default fixes.

常见问题:

Does this plugin require an API key?

No. The vaktija.eu API is used without an API key.

Can I use my own prayer times?

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.

Which CSV format is supported?

Semicolon-separated values: gregorian_date;hijri_date;fajr;sunrise;dhuhr;asr;maghrib;isha

Does the plugin work without the intl PHP extension?

Yes. Hijri dates for 1990–2040 are calculated from an embedded lookup table, so intl is not required for normal use.

Can I customize prayer names and labels?

Yes. Use WAQTUNA → Translations to override prayer names, navigation labels, Hijri months, and weekday names.

Can I use different custom labels on a bilingual site?

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.

Why is the wrong prayer highlighted?

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.

Which timezone should I use?

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.

更新日志:

1.3.5 1.3.4 1.3.3 1.3.2 1.3.1 1.3.0 1.2.3 1.2.2 1.2.1 1.2.0 1.1.3 1.1.2 1.1.1 1.1.0 1.0.0