该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

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.

评价

此插件暂无评价。

贡献者及开发者

「Solat Times」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「Solat Times」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志