Description
Islam Practice Prayer Schedule displays a beautiful prayer-times widget for WordPress. It includes a modern interactive card layout, a classic table layout, countdown to the next prayer, optional browser location verification, automatic calculation method selection by country/location, and simple customization controls.
Features
- Modern interactive prayer-times widget
- Classic table layout
- Countdown to next prayer
- Use My Location button
- Automatic calculation method by country/location
- Manual/fallback calculation method
- Standard and Hanafi Asr options
- 12-hour and 24-hour time formats
- Editable frontend labels and prayer names
- Letter, predefined emoji, or no marker styles
- Basic color picker controls
- Shortcode: [islampractice_prayer_schedule]
- Gutenberg block
- Privacy-safe, user-triggered location behavior
- Frontend and admin disclosure for external prayer-times API usage
External Services and Privacy
This plugin connects to the AlAdhan Prayer Times API to retrieve daily prayer times.
- Service: AlAdhan Prayer Times API
- API documentation: https://aladhan.com/prayer-times-api
- Terms/credits: https://aladhan.com/credits-and-terms
- Endpoint used: https://api.aladhan.com/v1/timings
- Data sent: latitude, longitude, calculation method, and Asr school.
- Purpose: to calculate and display daily prayer times for the configured or visitor-approved location.
The widget loads the administrator-selected default location first. Browser geolocation is requested only when a visitor clicks the location button and accepts the browser permission prompt. If permission is granted, the visitor’s latitude and longitude are sent to the AlAdhan API to retrieve prayer times. As with any external web request, the API provider may receive normal technical request data such as IP address, request time, and browser user agent.
The plugin does not store visitor coordinates in the WordPress database by default. Prayer-time responses may be cached in the visitor browser for the configured cache duration to reduce API requests. Site owners should mention this external API and optional location use in their own privacy policy where required.
Installation
- Upload the plugin folder to
/wp-content/plugins/or install the ZIP from Plugins > Add New. - Activate the plugin.
- Go to Prayer Schedule in the WordPress dashboard.
- Configure your default location and display settings.
- Add the shortcode
[islampractice_prayer_schedule]to a page, post, Elementor widget, or shortcode-supported area.
FAQ
-
Does it automatically request visitor location?
-
No. The widget loads the administrator-selected default location first. Browser geolocation is requested only when a visitor clicks the location button.
-
Which external service is used?
-
The plugin requests prayer times from the AlAdhan API using latitude, longitude, calculation method, and Asr school. Browser geolocation is only requested when the visitor clicks the location button and approves the browser permission prompt.
-
Does the plugin store visitor location data?
-
No. The plugin does not store visitor coordinates in the WordPress database by default. Prayer-time API responses may be cached in the visitor browser for the configured cache duration to reduce requests.
-
Can I use it with Elementor?
-
Yes. Add the shortcode
[islampractice_prayer_schedule]using the Elementor Shortcode widget. -
Can I edit the design?
-
Yes. The plugin includes basic color controls, editable frontend labels, prayer-name controls, and layout options.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Islam Practice Prayer Schedule” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Islam Practice Prayer Schedule” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.1.21
- Unified the internal constant prefix with the plugin-specific IslamPractice prayer schedule prefix.
1.1.20
- Moved the main plugin controller class into a dedicated class file and completed PHPCS/WPCS documentation refinements.
1.1.16
- Added WordPress Coding Standards documentation updates after PHPCS/PHPCBF review.
- Kept the unique Islam Practice Prayer Schedule naming and prefix fixes from the review build.
1.1.15
- Strengthened internal prefixing by replacing the remaining short frontend/admin CSS classes, HTML IDs, CSS custom properties, DOM dataset keys, and browser-storage keys with the full Islam Practice Prayer Schedule prefix.
- Kept the public shortcode, text domain, plugin slug, option name, settings group, and JavaScript localization object aligned with the Islam Practice Prayer Schedule prefix.
1.1.14
- Renamed the saved option, settings group, JavaScript localization object, and browser-storage keys to use the full Islam Practice Prayer Schedule prefix.
- Removed the unnecessary class-exists wrapper around the plugin class to avoid fallback-loading conflicts.
1.1.13
- WordPress.org review cleanup: removed promotional messaging and kept the plugin focused on the included free features.
- Kept the branded plugin name, updated slug/text domain, API disclosure, block API version 3, and header URL fix.
- Cleaned minor code duplication and aligned the minimum WordPress version with Block API version 3 support.