Title: Din &#8211; Muslim Prayer Timetable
Author: wansaifudin
Published: <strong>September 18, 2026</strong>
Last modified: September 18, 2026

---

Search plugins

![](https://ps.w.org/din-muslim-prayer-timetable/assets/banner-772x250.png?rev=3702459)

![](https://ps.w.org/din-muslim-prayer-timetable/assets/icon-256x256.png?rev=3702459)

# Din – Muslim Prayer Timetable

 By [wansaifudin](https://profiles.wordpress.org/wansaifudin/)

[Download](https://downloads.wordpress.org/plugin/din-muslim-prayer-timetable.1.2.2.zip)

 * [Details](https://wordpress.org/plugins/din-muslim-prayer-timetable/#description)
 * [Reviews](https://wordpress.org/plugins/din-muslim-prayer-timetable/#reviews)
 *  [Installation](https://wordpress.org/plugins/din-muslim-prayer-timetable/#installation)
 * [Development](https://wordpress.org/plugins/din-muslim-prayer-timetable/#developers)

 [Support](https://wordpress.org/support/plugin/din-muslim-prayer-timetable/)

## Description

Din is a lightweight, modern WordPress plugin designed to display daily and monthly
Islamic prayer times. It allows mosques and Islamic centers to easily share accurate
prayer timetables on their websites through simple shortcodes.

#### Features

 * Daily prayer times in vertical or horizontal layout
 * Next prayer with live countdown timer
 * Monthly prayer timetables
 * Simple Hijri (Islamic) date with manual month/day override
 * Customizable colors, font size, and styling
 * CSV import for easy bulk upload
 * Responsive design with modern CSS
 * Automatic next prayer highlighting
 * Cache-busted asset loading
 * PDF download of prayer timetable (via uploaded PDF)
 * Fully translation-ready (i18n)

#### How It Works

 1. Import your prayer times via CSV (sample provided)
 2. Display using shortcodes: `[dinmpt_daily_timetable]`, `[dinmpt_next_prayer]`, `[
    dinmpt_monthly_timetable]`, `[dinmpt_hijri_date]`
 3. Customize appearance via the Design settings tab
 4. Configure Hijri date settings using the base date and monthly day overrides

### License

This program is free software: you can redistribute it and/or modify it under the
terms of the GNU General Public License as published by the Free Software Foundation,
either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY 
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this
program. If not, see [https://www.gnu.org/licenses/gpl-2.0.html](https://www.gnu.org/licenses/gpl-2.0.html).

### Developer Notes

Developed by Wan Saifudin (https://wansazlinasaruddin.com). This plugin is free 
for use on any WordPress site. No warranties are provided.

## Installation

 1. Upload the `din-muslim-prayer-timetable` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Go to Settings > Prayer Times to import your CSV file
 4. Use the shortcodes to display prayer times on any page or post

## FAQ

### What shortcodes are available?

 * `[dinmpt_daily_timetable]` – Display daily prayer times table
 * `[dinmpt_next_prayer]` – Display next prayer with countdown timer
 * `[dinmpt_monthly_timetable]` – Display monthly prayer times
 * `[dinmpt_hijri_date]` – Display today’s Hijri date
 * `[dinmpt_gregorian_date]` – Display today’s Gregorian date

### How do I import prayer times?

Download the sample CSV file from the plugin’s Import tab, fill in your prayer times,
and upload it through the same tab.

### How does the Hijri date work?

The plugin uses a simple anchor-based calculation. Set the base Gregorian date and
corresponding Hijri date, then manually override each month’s length (29 or 30 days).
The system automatically updates as days pass.

### Can I customize the appearance?

Yes, you can customize colors, font sizes, and other styling options through the
Design settings tab.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Din – Muslim Prayer Timetable” is open source software. The following people have
contributed to this plugin.

Contributors

 *   [ wansaifudin ](https://profiles.wordpress.org/wansaifudin/)

[Translate “Din – Muslim Prayer Timetable” into your language.](https://translate.wordpress.org/projects/wp-plugins/din-muslim-prayer-timetable)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/din-muslim-prayer-timetable/),
check out the [SVN repository](https://plugins.svn.wordpress.org/din-muslim-prayer-timetable/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/din-muslim-prayer-timetable/)
by [RSS](https://plugins.trac.wordpress.org/log/din-muslim-prayer-timetable/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.2.2

 * Fixed PHP 7.4 parse error: removed PHP 8.0 union type `string|false` return declarations
   from parseDate() methods in class-dinmpt-csv-processor.php and class-dinmpt-renderer.
   php

#### 1.2.1

 * Fixed mixed line endings across all PHP, JS, and CSS files to resolve Plugin 
   Check Internal.LineEndings.Mixed warnings
 * Prefixed all local variables in View template files (hijri-tab.php, design-tab.
   php) to comply with WordPress.NamingConventions.PrefixAllGlobals

#### 1.2.0

 * Renamed all prefixes from dpt_/DPT_ (3-char) to dinmpt_/DINMPT_ (6-char) to comply
   with WordPress.org plugin guidelines (minimum 4-character prefix)
 * Renamed all include files from class-dpt-_.php to class-dinmpt-_.php
 * Renamed all CSS classes and variables from dptt-* to dinmpt-*
 * Renamed all asset handles from dptt-* to dinmpt-*
 * Renamed JS variables from DPTT/dptt_vars to DINMPT/dinmpt_vars
 * Fixed sanitizeHijriSettings() to validate base Gregorian date using DateTime::
   createFromFormat (prevents DateTime exceptions on invalid calendar dates)
 * Note: Due to prefix change, existing settings will need to be reconfigured

See changelog.txt for older version history.

## Meta

 *  Version **1.2.2**
 *  Last updated **2 weeks ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 5.8 or higher **
 *  Tested up to **7.1.2**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [hijri](https://wordpress.org/plugins/tags/hijri/)[islamic](https://wordpress.org/plugins/tags/islamic/)
   [mosque](https://wordpress.org/plugins/tags/mosque/)[Muslim](https://wordpress.org/plugins/tags/muslim/)
   [Prayer Times](https://wordpress.org/plugins/tags/prayer-times/)
 *  [Advanced View](https://wordpress.org/plugins/din-muslim-prayer-timetable/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/din-muslim-prayer-timetable/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/din-muslim-prayer-timetable/reviews/)

## Contributors

 *   [ wansaifudin ](https://profiles.wordpress.org/wansaifudin/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/din-muslim-prayer-timetable/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://buymeacoffee.com/wansaifudin)