Forum
A question from JazakAllah Khair via email:
Salaam Alaykum,
I was wondering if you could look into making a prayer time plugin for wordpress that would be capable of displaying prayer time data provided by the user, for example (the monthly prayer timetable which we calculate according to our location.
I'd like users to log on to the website to see a small sidebar widget displaying the prayer time for that day. From what I understand it needs a csv file or something.
I would appriciate it if you could look into this.
JazakAllah Khair
Wasalaam
You will need to provide the prayer time data set in a format like this
http://xhanch.com/api/islamic-get-prayer-time.php?lng=126&lat=90&yy=2010&mm=3&gmt=2&m=json
Then, change the url of $api_url in xhanch_my_prayer_time.class.php to your URL
Salaam Alaykum!
Thank you for your useful plugin! I'm a newbie and not good with coding, could please explain more about this part:
You will need to provide the prayer time data set in a format like this
http://xhanch.com/api/islamic-get-prayer-time.php?lng=126&lat=90&yy=2010&mm=3&gmt=2&m=json
Thanks in advance
Salaam Alaykum!
Thank you for your useful plugin! I'm a newbie and not good with coding, could please explain more about this part.
Thanks in advance
I've updated the sample link since the data set is empty.
Here''s a new one:
http://xhanch.com/api/islamic-get-prayer-time.php?lng=126&lat=90&yy=2010&mm=3&gmt=2&m=json
So, you will need to create a PHP script that displays prayer time data set like that based on the query strings
Thank you so much! 😉
Salam
I would also like to customize the WP Prayer plugin for our website which runs on WP, I get sent a timetable every month and would like to export and customize that using your plugin.
I have tried the sample php link but it no longer works. Can you please provide a revised sample link for me to customize for our own timetable?
Many thanks,
Khalid