Xhanch – My Prayer Time is a free WordPress plugin made by Xhanch Studio to display Moslem/Islamic prayer time table based on visitor’s IP (daily and monthly).
Features:
- Daily prayer time widget to be placed on your sidebar
- Display country and city based on visitor’s IP address
- AJAX to refresh prayer time as a visitor changed the date/period
- Data to display: Fajr, Sunrise, Zuhr, Asr, Maghrib, Isha
- Provide a short tag [xhanch-my-prayer-time] to be placed on a page to display a monthly prayer time
- Printer friendly version for monthly prayer time

Monthly Prayer Time Preview
Installation Procedure
- Download and unzip the package.
- Upload/FTP the entire “xhanch-my-prayer-time” directory to your /wp-content/plugins/ directory on your blog
- Activate the plugin on the “Plugins” tab of the administration panel.
- Put “Xhanch – My Prayer Time” widget to a sidebar.
- Open the widget options and put in your details
To insert a monthly prayer time, add a new page and insert [xhanch-my-prayer-time] into the content.
Layout Customization
By default, the layout will inherit your WordPress theme’s style. But if you want to make it looks different, you can modify the CSS code for this plugin (located on this plugin’s folder)
Download
Click here to download the latest version of Xhanch – My Prayer Time
Credit
If you want to thank us, you may consider activating the “Display Credit” option or make a donation to us. Thanks!







version – 1.0.0 is released today
* Initial release
nice plugin. one thing i want to ask is, how to check prayer time for other cities?
That feature is not available. It requires lots of works to add database for cities for each countries in the world. That’s why I come with the most efficient approach which is to display the time based on information retrieved from visitor’s IP
hi, nice plugin
1- but when i fist load the page it keep loading forever, (gives only the ip address country and city)
the solution is to choose a random date, then it the times will appear, but the problem will happen again once i refresh the page.
2- where do you take the dates??
Can you tell me your website URL so I can take a look?
And, what do you mean with your question #2?
Assalamualaykum wa Rahmatullah wa Barakatuhu,
Peace and blessings of Allah be upon you !
I would like to thank you because you have created a really great plugin.
May Allah reward you in this life and in the Hereafter .
Assalamu alaykum
Salam,
Is there a way to define location using google maps ?
I can not download the plugin. Why?
Please try again.
version – 1.0.1 is released today
* Implement Xhanch API
* Open source release
version – 1.0.2 is released today
* Monthly prayer time optimation
Thanks for the release.
But it would very usefull if user could chose his location with google map or yahoo map api.
I don’t know how to do.
Thanks for this plugin.
Thanks for your suggestion.
I’ve added it to my to do list
I agree with Abdellah, it is possible that the user can choose his location, and also the time of his country for example (GMT, GMT +1 ,..).
Thanks
Well, it is possible.
Unfortunately, I don’t have a database for that and I can’t afford to have the database for that.
Terimakasih…..ya pak, widget yg inovatif
Assalamu alaykum wa rahmatu Allah
Today is back in Europe, the legal time (GMT +2), and perhaps the plugin is not provided for this option, because continuing to do the normal time without adding 1 hour.
Assalamu alaykum
Could you provide more information about this rule?
Sounds strange to me
Assalamu alaykum,
In Europe, every year the last Sunday of March at 2:00 am, the clock goes forward one hour, (which means that time becomes GMT +2), and this lasts until the last Sunday in October at 2:00 am the clock goes back an hour, (which means that time becomes GMT +1).
So now the plugin, give me solar time, which means the user must add one hour to time giving the plugin.
if you want further information: http://en.wikipedia.org/wiki/Daylight_saving_time
Thanks
I solved, by changing “xhanch_my_prayer_time_function.php”, line 88, from (‘gmt’ => $ res-> gmt) to (‘GMT’ => $ res-> gmt +1)
Thanks for doing the favor
Hi, i have the same probleme, now is GMT +2, any help to change it ??
Hi, Mustapha has solved the problem by modifying “xhanch_my_prayer_time_function.php”, line 88, from (‘gmt’ => $ res-> gmt) to (‘GMT’ => $ res-> gmt +1)
السلام عليكم و رحمة الله و بركاته
I don’t see the option on the widget! Why?? I’ve installed this plugin under wordpress 2.9.2 and wordpress 3 beta 2.
جزاكم الله خيرا
و السلام عليكم و رحمة الله و بركاته
محمد سهلان رشيدى
That would be strange.
Did you encounter any errors? or Warnings?