Linux 软件免费装
Banner图

JetPrayer - Islamic Prayer Times

开发者 mehdituran
更新时间 2026年6月24日 19:13
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

islamic namaz ezan adhan prayer times

下载

1.0.2 1.0.0 1.0.1

详情介绍:

JetPrayer is a performance-first, modern, and highly customizable WordPress plugin designed to display Islamic prayer times. Unlike standard prayer time plugins that fetch timings via slow, external API calls on every page load, JetPrayer syncs the entire year's timetable with the AlAdhan API and caches it directly in your local WordPress database. This guarantees a blazing-fast frontend loading speed of 0ms external latency, saving server resources and eliminating API quota limits. JetPrayer includes a beautiful, premium visual style engine with support for five interactive layouts (Cards, Responsive Grid, Dynamic Slider, Ticker, and Trigger Modal) and a complete customization panel. 3rd Party Service Integration This plugin relies on the external, 3rd party service AlAdhan API to fetch and synchronize Islamic prayer times for your target locations. * Service URL: https://aladhan.com / https://api.aladhan.com * Terms of Service: https://aladhan.com/credits-and-terms * Data Sent: The plugin makes remote HTTP requests sending only the location credentials (city name/country name or latitude/longitude coordinates), calculation method ID, Asr school, and year. No personal user data, IP addresses, or visitor tracking data is transmitted to the external service. Features

安装:

  1. Upload the entire jetprayer folder to the /wp-content/plugins/ directory, or upload the jetprayer.zip file via the WordPress plugin uploader.
  2. Activate the plugin through the 'Plugins' menu in WordPress.
  3. Navigate to the JetPrayer menu in your WordPress dashboard.
  4. Configure your location settings (City/Country or Latitude/Longitude) and Calculation Method.
  5. Save settings and click the Sync Entire Year Now button to populate the database cache.
  6. Insert the shortcode, Gutenberg block, or Elementor widget into any page or widget.

屏幕截图:

  • Timetable CRUD Editor page – Displays cached database rows month-by-month with options to edit timings, delete entries, and search records.
  • Layout Display Settings page – Exposes layout customization options including visibility toggles and advanced CSS controls (max width, text alignment, margins, paddings, ratios, and font families).
  • Card layout – Exposes prayer times inside a premium, glassmorphic card design.
  • Grid layout – Displays prayer times side-by-side in a responsive grid.
  • Slider layout – Slides through individual prayer times in a carousel.
  • Ticker layout – Infinite marquee scrolling text displaying today's timings.
  • Modal layout – Displays today's summary with a button to toggle the full monthly timetable modal.
  • Backup page – Allows downloading a complete or partial JSON backup of the plugin settings, customization values, and timings.

常见问题:

How does the caching mechanism work?

When you configure settings and click "Sync", JetPrayer downloads all 365 days of prayer timings for your selected method and location from the AlAdhan API. It stores this data in a custom MySQL table (wp_jetprayer_times). The front end queries this local table, resulting in instantaneous page load times without any external HTTP calls.

Why is Jafari calculation method ID saved as 0 in the database?

The plugin uses the official calculation method IDs defined by the AlAdhan API. In the API's standard, Shia Ithna-Ashari (Jafari) is mapped to ID 0 (e.g. Diyanet Turkey is 13, Umm Al-Qura is 4). Saving as 0 is correct and intended. If you select another method, it will be saved with its respective ID.

Why do I get a 429 Too Many Requests error when syncing?

The plugin features a 60-second rate limiter transient for the sync action. This is to protect the AlAdhan API and your website server from rate limit bans. Please wait 1 minute before running another synchronization.

Are custom manual edits preserved during a sync?

Yes! If you manually edit prayer times in the CRUD Database Editor, the row is marked as is_custom = 1. During a normal API sync, custom rows are locked and will not be overwritten by AlAdhan API data, preserving your manual adjustments.

What is the default location and how do I change it?

The default location is the city/country or coordinates configured and last synced in the "Settings & Sync" dashboard. This is saved as the default options values in the database, and the shortcode [jetprayer] will display this location by default. If you sync multiple locations, you can change the default location anytime by entering its details in the settings form and clicking "Sync".

How does the Bulk Add & Sync feature work?

In the Settings & Sync panel, click the "Bulk Add & Sync" button. You can upload a JSON file containing a list of countries and cities. The plugin supports three formats:

  1. Simple City List: A list of cities (e.g. ["Istanbul", "Ankara"]) which uses the form's default method and year.
  2. Custom Per-City: Specifying a custom calculation method ID and year immediately following each city.
  3. Grouped with Single Method/Year: A list of multiple cities followed by a single method and year at the end, which automatically applies those settings to all preceding cities in the group (e.g. ["Madrid", "Barcelona", "3", "2026"]). The plugin will download and cache all timings sequentially with real-time progress log output.

更新日志:

1.0.2 1.0.1 1.0.0