Five Prayer is a WordPress plugin designed to display Muslim prayer times.
Who Can Benefit from Five Prayer?
This plugin is ideal for: * Mosques and Islamic centers * Community Masjids * Any WordPress website that wants to display prayer times
More features will be added in future updates.
Five Prayer Introduction Video
Shortcodes
Use the following shortcodes to display prayer times on your website:
-
[Fp_TimeTable_Monthly]Displays a monthly prayer timetable with the print option outside the table. (This is now the default behavior) -
[Fp_TimeTable_Monthly printer_option="outside"]Displays a monthly prayer timetable with the print option outside the table. (This is now the default behavior) -
[Fp_TimeTable_Monthly printer_option="inside"]Displays a monthly prayer timetable with the print option inside the table. -
[Fp_Vertical_Daily_Prayer]Displays today’s prayer timetable in a vertical format.
For additional shortcodes, visit the Docs section in the Five Prayer UI.
Deprecated
Some legacy shortcodes are now deprecated (but still functional). Example:
– Deprecated: [Fp_Single_Fajr_Begins]
– New: [Fp_Single_Fajr_Begins_time]
For a complete list of New Shortcodes, please visit the Docs section.
After Activation
- You should see Five Prayer in your WordPress admin sidebar.
- Configuration is complete!
Performance & Caching (Version 2.2.2 Enhancements)
Version 2.2.2 includes significant enhancements to the plugin’s existing caching system for optimal performance.
🚀 Enhanced Caching Architecture
The improved multi-layer system in Five Prayer 2.2.2 includes: * Optimized In-Memory Caching: Reduces redundant database calls. * Enhanced Fragment Caching: For shortcodes and blocks. * Robust Object Caching: Leverages WordPress transients with external cache support.
🔧 Object Cache Compatibility
The caching system is fully compatible with external object caching: * Redis & Memcached: For persistent and distributed caching. * APCu: For opcode caching. * How it works: Prayer data cached via WordPress transients automatically utilizes external object caches (like Redis) if available on your server.
📊 Performance Improvements
Enhancements in Version 2.2.2 deliver: * Further reduction in database queries for prayer data. * Faster page load times for content with prayer shortcodes. * Better scalability for high-traffic websites.
🎯 Cache Durations
- Monthly Timetable: 30-minute cache (
[Fp_TimeTable_Monthly]) - Daily Prayer Times: 10-minute cache (
[Fp_Vertical_Daily_Prayer]) - Single Prayer Blocks: 10-minute cache
- Settings Data: 1-day cache
- Next Prayer: 1-minute cache (for real-time accuracy)
💡 Cache Management for Administrators
- Automatic Clearing: The cache is automatically invalidated when you update plugin settings (location, methods, etc.).
- Manual Refresh: To immediately refresh all prayer data, use the “Generate Calendar” button in the Prayer Settings. This rebuilds the data and clears related caches.
- Admin Context: Caching is bypassed in the WordPress admin area for accurate previews.
Features
- Full-year prayer timetable
- Print a specific month’s timetable
- Customizable timetable styles
- Add custom text and a logo when printing
- Add a custom location
- Hijri Calendar with multiple customization options
- Adjust the start date of Ramadan
- Custom Translation system
- Additional features such as Iqama delay (in minutes) and more
- Table Display Options: New settings to control which columns appear in prayer timetable displays.
For more details, visit the Docs section in the Five Prayer UI.
