daily-prayer-time-for-mosques
Last commit date
API
2 months ago
Assets
1 month ago
Models
1 month ago
Views
1 month ago
docker
3 years ago
freemius
1 year ago
vendor
8 months ago
.gitignore
1 year ago
LICENSE
2 years ago
composer.json
1 year ago
composer.lock
1 year ago
daily-prayer-time.php
1 month ago
docker-compose.yml
1 year ago
index.html
4 years ago
readme.txt
1 month ago
uninstall.php
2 years ago
readme.txt
193 lines
| 1 | === Daily Prayer Time === |
| 2 | Contributors: mmrs151, yasin84 |
| 3 | Donate link: https://donate.uwt.org/Account/Index.aspx |
| 4 | Tags: prayer time, salah time, salat, namaz, Quran verse |
| 5 | Requires at least: 4.5 |
| 6 | Requires PHP: 7.2 |
| 7 | Tested up to: 6.9 |
| 8 | Stable tag: 2026.05.04 |
| 9 | License: GPLv2 |
| 10 | License URI: http://www.gnu.org/licenses/gpl-2.0.html |
| 11 | |
| 12 | Display prayer time in any screen, in any language and many more. |
| 13 | |
| 14 | == Description == |
| 15 | For video tutorial please follow these links: |
| 16 | - (Latest) How to tutorial [youtube https://youtu.be/ka5WxQfkFww] |
| 17 | |
| 18 | Alhamdulillah that you can display Yearly and Monthly prayer time with ajax month selector using shortcode [timetable] |
| 19 | Daily prayer time can be displayed vertically or horizontally in your preferable widget area. Designed for any Mosque or Islamic institutes. |
| 20 | |
| 21 | **You need to upload your masjid's timetable from plugin admin section.** |
| 22 | |
| 23 | = PULL REQUEST = |
| 24 | [GITHUB https://github.com/mmrs151/daily-prayer-time/pulls] |
| 25 | Add your commit and make a pull request. Please describe your feature, I will add it to the core. |
| 26 | |
| 27 | [IMPORTANT] |
| 28 | If you don't see any update of this plugin for over a year, I might have departed. |
| 29 | Please feel free to copy the whole code and relase in a different name, so the masajid can be served. |
| 30 | My sole intention is to support the ummah. |
| 31 | So I have absolutely no complain as long as you have the same intention, Fi Sabilillah. |
| 32 | |
| 33 | Mustafiz. |
| 34 | |
| 35 | = Features = |
| 36 | Once the installation above is done, this will allow the **Admin/Editor** |
| 37 | |
| 38 | - To display prayer start and jamah time |
| 39 | |
| 40 | - To display ramadan timetable for daily or full month |
| 41 | |
| 42 | - To display next prayer and IQAMAH notifications |
| 43 | |
| 44 | - To display prayer time either vertical or horizontal widget. |
| 45 | |
| 46 | - To display 'Jamah time' only if you chose. |
| 47 | |
| 48 | - To chose from three different themes |
| 49 | |
| 50 | - To chose Asr salah start method |
| 51 | |
| 52 | - Display monthly and yearly timetable using shortcode [timetable] from any page or post |
| 53 | |
| 54 | - Display Khutbah time announcement on Friday |
| 55 | |
| 56 | - Display Iqamah time only for monthly timetable using shortcode |
| 57 | |
| 58 | - Upload any number of days, weeks, months or a full year. |
| 59 | |
| 60 | - Support all language that are readable on the web |
| 61 | |
| 62 | - Use custom css using the class dptUserStyles to decorate your element table elements. |
| 63 | |
| 64 | - Use span class dpt_jamah and dpt_start along with [next_xxxx_prayer] and design your view however you want. |
| 65 | |
| 66 | - Display Iqamah update for next day |
| 67 | |
| 68 | - Display prayer time on big monitors in the masjid |
| 69 | |
| 70 | - Display Quran verse in a shortcode |
| 71 | |
| 72 | = shortcodes = |
| 73 | 1. **[monthlytable]** - Display Yearly and Monthly prayer time with ajax month selector |
| 74 | 2. **[dailytable_horizontal]** - Display daily timetable horizontally |
| 75 | 3. **[dailytable_horizontal asr=hanafi]** - Display daily timetable horizontally with Hanafi Asr start method |
| 76 | 4. **[dailytable_vertical]** - Display daily timetable vertically |
| 77 | 5. **[dailytable_vertical asr=hanafi]** - Display daily timetable vertically with Hanafi Asr start method |
| 78 | 6. **[dailytable_horizontal asr=hanafi friday_alert="First Khutbah: 1:15. Second Khutbah: 1:45"]** - Display Friday announcement |
| 79 | 7. **[monthlytable display=iqamah_only]** - Display Iqamah only for Yearly and Monthly prayer time with ajax month selector |
| 80 | 8. **[monthlytable display=azan_only]** - Display Azan only for Yearly and Monthly prayer time with ajax month selector |
| 81 | 9. **[monthlytable heading="Månedlige Tidsplan"]** - Display monthly time table heading in any language, default is 'Monthly Time Table for' |
| 82 | 10. **[digital_screen]** - Display prayer time on big monitors in the masjid |
| 83 | 11. **[quran_verse]** - Display a random verse from the Holy Quran |
| 84 | 12. **[disable_overnight_dim] - disable overnight dimming of the digital screen |
| 85 | ... and more. Check the 'helps-and-tips' page in plugin settings once you install it. |
| 86 | |
| 87 | == Installation == |
| 88 | 1. Download the plugin |
| 89 | 2. Simply go under the Plugins page, then click on Add new and select the plugin's .zip file |
| 90 | 3. Alternatively you can extract the contents of the zip file directly to your wp-content/plugins/ folder |
| 91 | 4. Finally, just go under Plugins and activate the plugin |
| 92 | |
| 93 | = Comprehensive setup = |
| 94 | |
| 95 | **Please upload your mosque's timetable in .csv format from the plugin setting page.** |
| 96 | |
| 97 | == Frequently Asked Questions == |
| 98 | |
| 99 | = Why my time table is showing all zeros(0)? = |
| 100 | You will need to import your mosque's timetable csv from settings section. |
| 101 | |
| 102 | = Why my date is showing '1, Jan 1970' = |
| 103 | Because you have not imported your mosque's timetable or your date format is not valid mysql format, which is (YYYY-MM-DD) |
| 104 | |
| 105 | = How to display ramadan time = |
| 106 | Simply put '1' for the last column(is_ramadan) in the sample csv for the days belongs to ramadan before upload |
| 107 | |
| 108 | = Why does it not show minutes remaining for next IQAMAH |
| 109 | Please check/update your timezone settings in Settings > General |
| 110 | |
| 111 | = What other features coming in the next updates |
| 112 | Please look at https://trello.com/b/6Re5Dga7/salah-time-wordpress-plugin |
| 113 | |
| 114 | == Screenshots == |
| 115 | 1. Masjid and Mobile display |
| 116 | 2. Display time remaining for next prayer |
| 117 | 3. Random Quran verse |
| 118 | 4. Add hadith or your own message |
| 119 | 5. Design anyway you like |
| 120 | 6. Design anyway you like |
| 121 | 7. Design anyway you like |
| 122 | 8. Default Website daily view |
| 123 | 9. Default Website monthly view |
| 124 | 10. Settings page |
| 125 | 11. Sample 1 |
| 126 | 12. Sample 2 |
| 127 | |
| 128 | == Changelog == |
| 129 | |
| 130 | = 2026.05.04 = |
| 131 | * Feat: Glassmorphism prayer cards with blur effect in EICT template |
| 132 | * Feat: Glow animation on next prayer highlight |
| 133 | * Feat: Hover transitions with smooth card lift |
| 134 | * Feat: Gradient backgrounds (top section and banner) |
| 135 | * Feat: Fluid typography using clamp() for responsive sizing |
| 136 | * Feat: Mobile responsive - 2-column centered layout for prayer cards |
| 137 | * Fix: Jumuah font sizing - smaller font when jumuah3 is set |
| 138 | * Fix: Correct spelling from jumah to jummah in CSS selectors |
| 139 | |
| 140 | = 2026.05.03 = |
| 141 | * Fix: Timezone issue in isZawalTimeNext by using user_current_time for consistent comparison |
| 142 | * Fix: Show zawal name instead of sunrise when zawal is next (with fallback) |
| 143 | * Fix: Only highlight ishraq row when ishraq is next (not zawal) |
| 144 | * Fix: Only highlight zuhr row when zawal is next (not sunrise row) |
| 145 | * Fix: Ishraq highlighting in horizontal table's printAzanTime method |
| 146 | * Fix: Jumuah display logic - show row only when times set and before last jumuah time |
| 147 | |
| 148 | = 2026.05.01 = |
| 149 | * Feat: Add media gallery button for selecting slider images from WordPress media library |
| 150 | * Feat: Add dynamic slider management - show 1 initially, add more up to 7 sliders |
| 151 | * Feat: Add template selection with checkbox to enable/disable templates (EICT, Usman) |
| 152 | * Feat: Add two-section slider card layout - fields on left, thumbnail preview on right |
| 153 | * Feat: Make template grid responsive (stacks on mobile) |
| 154 | * Fix: Template display logic - now requires both checkbox AND template selection enabled |
| 155 | * Fix: Preserve textarea formatting without extra spaces |
| 156 | * Fix: Remove duplicate CSS rules causing extra spacing |
| 157 | |
| 158 | = 2026.04.28.1 = |
| 159 | * Fix: Add horizontal scroll wrapper to monthly table for mobile display |
| 160 | |
| 161 | = 2026.04.28 = |
| 162 | * Feat: Add Ishraq time feature with admin toggle in settings |
| 163 | * Feat: Redesign Helps & Tips page with accordion layout and click-to-copy shortcodes |
| 164 | * Feat: Redesign Language Settings page with accordion layout and language presets |
| 165 | * Fix: Correct isIshraqTimeNext logic - check if now is between Fajr and Ishraq |
| 166 | * Fix: Handle ishraq in daily timetable - merge into sunrise row |
| 167 | * Fix: Remove ishraq/zawal from getAzanTime array to prevent errors |
| 168 | * Fix: Add CSV row validation in QuranDB import |
| 169 | * Fix: Various bug fixes and improvements |
| 170 | |
| 171 | = 2026.04.26 = |
| 172 | * Feat: show detailed CSV upload results - inserted and updated rows in accordion |
| 173 | * Fix: change Hijri date to update after Maghrib (sunset) instead of midnight |
| 174 | * Feat: add iqamahTime and azanTime to next_prayer API response |
| 175 | |
| 176 | = 2025.10.26 = |
| 177 | * Fix: Fix JS bug |
| 178 | |
| 179 | == Upgrade Notice == |
| 180 | |
| 181 | = 2026.04.28.1 = |
| 182 | * Fix: Monthly table mobile display - now scrolls horizontally on small screens |
| 183 | |
| 184 | = 2026.04.28 = |
| 185 | * New: Ishraq time feature - display calculated Ishraq time in timetable |
| 186 | * New: Improved Helps & Tips page with copyable shortcodes |
| 187 | * New: Improved Language Settings with presets for common languages |
| 188 | |
| 189 | = 2026.04.26 = |
| 190 | * Improvements: CSV upload results display, Hijri date calculation, and API enhancements |
| 191 | |
| 192 | = 2025.10.26 = |
| 193 | * Fix: Fix JS bug |