Daily Prayer Times
Displays daily and monthly prayer, Sehri, and Iftar times for cities in Bangladesh using Aladhan API.
by Md Alamin · github.com/developeralaminvi/namaz-sehri-iftar-time · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/developeralaminvi/namaz-sehri-iftar-time/archive/refs/heads/main.zipReadme
Daily Prayer Times
Contributors: Md Alamin Tags: prayer times, namaz, salat, sehri, iftar, Bangladesh, Islamic, Aladhan API, daily prayer, monthly prayer, responsive, countdown Requires at least: 5.0 Tested up to: 6.5 Stable tag: 1.0.0 License: GPL2 License URI: https://www.gnu.org/licenses/gpl-2.0.html
💡 Description
The Daily Prayer Times plugin is a lightweight and feature-rich WordPress plugin that allows you to display accurate daily and monthly prayer, Sehri, and Iftar times for various cities across Bangladesh. Utilizing the reliable Aladhan API, this plugin ensures your website visitors always have access to up-to-date Islamic prayer schedules.
✨ Key Features:
- Dynamic City Selection: Users can easily select their desired city from a comprehensive list of Bangladeshi cities via a searchable dropdown (powered by Select2).
- Real-time Prayer Times: Displays today's Fajr, Dhuhr, Asr, Maghrib, Isha, and Sunrise times in a clear, grid-based layout.
- Next Prayer Highlight & Countdown: Automatically highlights the current/next prayer time and shows a live countdown to the next prayer (hours, minutes, seconds remaining).
- Sehri & Iftar Timings with Countdown: Prominently displays the Sehri (Fajr end) and Iftar (Maghrib) times for the current day, accompanied by a dedicated countdown (hours, minutes remaining).
- Monthly Prayer Schedule: Provides a complete monthly timetable for all prayer times, Sehri, and Iftar, presented in an easy-to-read table format.
- Today's Date Highlight: The current day's row in the monthly table is automatically highlighted for quick reference.
- Dynamic SEO-Friendly Text: An automatically generated descriptive text at the top of the plugin provides key prayer times and dates for the selected city, enhancing your page's SEO.
- Responsive Design & Animations: The plugin is fully responsive, ensuring a beautiful display on all devices (desktops, tablets, and mobiles). It includes subtle animations for a smoother user experience.
- Aladhan API Integration: Reliable and accurate data fetched directly from the Aladhan API.
- Customizable: Easy to integrate and style to match your website's design.
🚀 Installation
- Download: Download the plugin as a
.zipfile from the repository. - Upload:
- Navigate to WordPress Dashboard > Plugins > Add New.
- Click on the "Upload Plugin" button.
- Choose the downloaded
.zipfile and click "Install Now".
- Activate: After installation, click "Activate Plugin".
- Usage: Place the shortcode
[prayer_times]on any page, post, or widget area where you want to display the prayer times.
🔌 Usage
Simply add the following shortcode to any page, post, or text widget:
[prayer_times]
The plugin will automatically detect the page title and use it as its main heading, making it contextually relevant to your content.
❓ FAQ
Q: Does this plugin work for all cities in Bangladesh? A: Yes, the plugin includes a comprehensive list of major cities in Bangladesh provided by the Aladhan API, which you can select from the dropdown.
Q: Is the time data accurate? A: The plugin fetches data directly from the Aladhan API, which is a widely used and reliable source for Islamic prayer times. The accuracy depends on the API's data for your selected city.
Q: Can I change the default city? A: The plugin remembers the last selected city using local storage for a better user experience. By default, it loads "Dhaka" initially.
Q: How do I ensure the plugin updates? A: After any updates to the plugin files, it's recommended to deactivate and reactivate the plugin from your WordPress dashboard, and clear any website caching you might be using.
📝 Changelog
1.0.0 - July 12, 2025
- Initial Release.
- Core functionality for daily and monthly prayer times, Sehri, and Iftar.
- Integration with Aladhan API.
- Dynamic city selection with search (Select2).
- Next prayer highlight and countdown.
- Separate countdowns for Sehri and Iftar.
- Dynamic, SEO-friendly introductory text with current date, city, and prayer times (including Sunrise and Hijri date).
- Responsive design for all devices.
- Animated UI elements for enhanced user experience.
👨💻 Developer
Name: Md Alamin Hire Me on Upwork: Click here to hire WordPress Experience: Custom plugins, WooCommerce extensions, Elementor widgets, Theme Development, API Integration. Facebook: Facebook Profile Email: developeralaminvi@gmail.com
Feel free to reach out for custom WordPress development needs!