這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Solat Times” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Solat Times 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄