=== Five Prayer ===
Contributors: jamaaldev
Tags: prayer, Muslim, salat, fiveprayer, islamic, prayer-times
Donate link: https://www.buymeacoffee.com/jamaaldev
Requires at least: 5.9
Tested up to: 6.9
Stable tag: 2.2.0
Requires PHP: 7.4
License: GPLv3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.txt

Five Prayer displays accurate Muslim prayer times and timetables directly inside WordPress.

== Description ==
**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 ==
[Watch the introduction video](https://youtu.be/c7MVPIepyVI)

== Shortcodes ==
Use the following shortcodes to display prayer times on your website:

* `[Fp_TimeTable_Monthly]`  
  Displays a monthly prayer timetable with a print option.

* `[Fp_TimeTable_Monthly printer_option="outside"]`  
  Displays the monthly prayer timetable with the print option outside 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.

== Installation ==
= Automatic Installation =
1. Go to **Plugins > Add New** in your WordPress dashboard.
2. Search for **Five Prayer**.
3. Click **Install Now** when the plugin appears.
4. Activate the plugin from the **Plugins** page.

= Manual Installation =
1. Upload the **Five Prayer** folder to `/wp-content/plugins/`.
2. Activate the **Five Prayer** plugin via the **Plugins** menu in WordPress.

== After Activation ==
1. You should see **Five Prayer** in your WordPress admin sidebar.
2. Configuration is complete!

== Upgrade Notice ==
= 2.2.0 =
* Added: Table Display Options
* Fixed: Timezone Handling 
* Fixed: Current Time Display 

= 2.1.1 =
* Compatible with WordPress 6.9
* Fixed: TimeTable One of The Columns not Translated
* Fixed: Layout of the TimeTable in The PrinterPage
* Improved: UI For Texts in the Admin

= 2.1.0 =
* Added new shortcodes: `[Fp_Single_Fajr_Name]`, `[Fp_Single_Dhuhr_Name]`, etc. for prayer names and more.
* Introduced new Gutenberg blocks including Container Prayer block
* Added Custom Translation interface
* Improved shortcode naming consistency
* Removed: Clean Transients Sub Menu to simplify plugin codebase and improve performance.
* Added: Settings Sub Menu page in the admin menu First tab Manage translations, import/export custom translations, and reset behavior.




== Frequently Asked Questions ==
= How can I request a new feature? =
Visit the **Docs** section within the Five Prayer UI for details on how to submit feature requests.

== Screenshots ==
1. **Important:** Go to **Settings > General** and set your timezone.
2. In **Five Prayer**, navigate to **Customizing > Location** to add your location details.
3. In **Five Prayer**, go to **Prayer Settings**, enter the required information, and click **Generate Calendar**.
4. In **Five Prayer**, open **Customizing**, then select **TimeTable** to adjust styles.
5. In **Five Prayer**, go to **Hijra Calendar** and configure your settings.

== 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.

== Changelog ==


= 2.2.0 =

* Added: Table Display Options: New settings to control which columns appear in prayer timetable displays.
   Skip Iqamah & Midnight Columns: When enabled, the Iqamah and Midnight columns will be hidden from monthly prayer tables, providing a cleaner view for users who don't need these specific prayer times. This setting can be found in More Settings → Display Settings.

* Fixed: Timezone Handling - Calendar generation now uses the timezone set in WordPress General Settings. Previously, it was using the local timezone of your computer. Now, it generates using the timezone you have configured in WordPress. For example, if your computer is in New York but you have chosen London in your WordPress General Settings, the calendar will generate in London time.

* Fixed: Current Time Display - When a visitor views the website, they now see the current time based on the WordPress-configured timezone. Previously, it was showing the visitor's local computer time. For example, if a visitor is in New York and the site's WordPress timezone is set to London, they will see the current time for London, not New York.

= 2.1.1 =
* Compatible with WordPress 6.9
* Fixed: TimeTable One of The Columns not Translated
* Fixed: Layout of the TimeTable in The PrinterPage
* Improved: UI For Texts in the Admin

= 2.1.0 =
* Added new prayer names shortcodes and more
* Introduced Gutenberg blocks (including Container Prayer)
* Implemented Custom Translation system
* Improved shortcode consistency
* Removed: Clean Transients Sub Menu to simplify plugin codebase and improve performance.
* Added: Settings Sub Menu page in the admin menu First tab Manage translations, import/export custom translations, and reset behavior.

= 2.0.1 =
* Compatable with WordPress 6.8.1
* Added Facebook Community Group Link

= 2.0.0 =
* Major Update - Breaking Change release of Version 2.0.0
* Initial release of Version 2.0.0