| 开发者 | mehdituran |
|---|---|
| 更新时间 | 2026年6月24日 19:13 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
jetprayer folder to the /wp-content/plugins/ directory, or upload the jetprayer.zip file via the WordPress plugin uploader.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.
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.
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.
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.
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".
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:
["Istanbul", "Ankara"]) which uses the form's default method and year.["Madrid", "Barcelona", "3", "2026"]).
The plugin will download and cache all timings sequentially with real-time progress log output.