Description
Muslims need to observe their daily prayer times. With this plugin installed, you’re not just reminding yourselves to perform the solat (or salaat), but you’ll also be reminding your blog visitors as well.
It is a plugin for you to display the daily Islamic prayer times (including sunrise) for your location of choice according to the calculations made at IslamicFinder.org
The plugin allows you to apply your own styling (using CSS) to the prayer times table. By default it will follow the calendar style of your theme.
Usage
To display the prayer times, place this code:
<?php if(function_exists('solat_times')) { solat_times(); } ?>
To display on sidebar, use this:
<?php
if(function_exists('solat_times')) {
echo "
<li id='calendar'><h2>Prayer times</h2>";
solat_times();
echo "
</li>";
}
?>
Installation
- Get the code for your city from IslamicFinder.org
- Copy the URL from the generated code
- Download plugin, unzip, and open solat-times.php
- Replace
PUT_URL_HERE
with the copied URL - Replace
MY_CITY
with the name of selected city/town. Save the file - Upload the
/solat-times/
folder to your/wp-content/plugins/
folder, and activate the plugin
Visit plugin’s page for detailed installation and usage instructions.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Solat Times” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Solat Times” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.