Prayer Times Plugin

A PHP plugin for WordPress to display daily prayer times, monthly prayer times, and Islamic dates.

Installation

Follow these steps to install the plugin:

  1. Download the Zip file Plugin.
  2. Upload the Plugin to WordPress.
  3. Activate the Plugin.

And you're done! The plugin is installed and ready to use.

Usage

Use the following steps to fetch and display prayer times:

  1. Fetch the prayer times using this shortcode:
    [fetch-prayer-time city="Add City Name Here" country="Country Name here"]
  2. Display prayer times with these shortcodes:
    • Single Prayer Time:
      [prayer-time city="City Name here" prayer="Fajr"]
      You can replace "Fajr" with "Dhuhr", "Asr", "Maghrib", or "Isha".
    • Monthly Prayer Time Table:
      [monthly-prayer-times-table city="City Name here"]
    • Islamic Month:
      [hijri_month city="City Name here"]
    • Islamic Date:
      [hijri_date city="City Name here"]

Note: You must fetch the prayer times for each city before displaying them. The same city should be used on the same page.

Example Site

Check out the Waktu Solat site, which was developed using this plugin.

Download Plugin

Download the Prayer Times Plugin from GitHub:

Download Plugin

Need Customization?

If you need any customization or have questions, feel free to reach out to naveed32001@gmail.com.