Solat Times

Solat Times

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>";
}
?>
  1. Get the code for your city from IslamicFinder.org
  2. Copy the URL from the generated code
  3. Download plugin, unzip, and open solat-times.php
  4. Replace PUT_URL_HERE with the copied URL
  5. Replace MY_CITY with the name of selected city/town. Save the file
  6. 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

0 out of 5 stars

  • Version: 0.1
  • Last updated: 16 years ago
  • Active installations: 10
  • WordPress version: 2.1
  • Tested up to: 2.3.2
  • PHP version: false