這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

MH Dispaly Prayer Times widget

外掛說明

This is a Simple widget that creates following tables if they don’t already exist and loads sample data into

1) Daily Prayer Table

$wpdb->prefix . mh_dpt_daily_times 

Structure of Table:

month int(2) NOT NULL, //values are 01,02...12
day int(2) NOT NULL, //values are 1...31
name varchar(10) NOT NULL, //values are Fajr, Dhuhur, Asr, Maghrib, Ishaa
hour varchar(2) NOT NULL DEFAULT '0', //values are 01,02..12
minutes varchar(2) NOT NULL DEFAULT '00', //values are 01..59
ampm varchar(2) NOT NULL, //values are AM or PM
disp_order decimal(1,0) NOT NULL, // 1..5 used for ordering values while displaying in html table.
PRIMARY KEY (month,day,name)

1) Daily Prayer Table

$wpdb->prefix . mh_dpt_friday_times 

Structure of Table:

        name varchar(10) NOT NULL,
        hour varchar(2) NOT NULL DEFAULT '0',
        minutes varchar(2) NOT NULL DEFAULT '00',
        ampm varchar(2) NOT NULL,
        PRIMARY KEY (name)

螢幕擷圖

  • MH Dispaly Prayer Times Widget settings screen.
  • Plugins screen.
  • MH Dispaly Prayer Times Widget on the front of a plain Wordpress install.

安裝方式

Install

  1. Unzip the mh_display_prayer_times.zip file.
  2. Upload the the mh_display_prayer_times folder (not just the files in it!) to your wp-contents/plugins folder. If you’re using FTP, use ‘binary’ mode.

Activate

  1. In your WordPress administration, go to the Plugins page
  2. Activate the MH Display Prayer Times Widget plugin
  3. Go to the Appearance > Widget page and place the widget in your sidebar in the Design
  4. Set the following values
    i) Title: Prayer Times (Default value)
    ii) Prayer/Iqama Heading BgColor: #000000 (Default value of background color for Prayer Iqamatimes table heading.
    iii) Prayer/Iqama Heading Text color: #FFFFFF (Default value of Text color for heading)
    iv) Prayer Rows Alternate BgColor1: #FFFFFF (Default value of html table odd rows)
    iv) Prayer Rows Alternate BgColor2: #FFFFFF (Default value of html table even rows)

Please visit the forum for questions or comments: https://wordpress.org/tags/mh_display_prayer_times/

Requirements

  • PHP 5.1 or above
  • WordPress 3.0 or above

常見問題集

Where do I go to file a bug or ask a question?

Please visit the forum for questions or comments: https://wordpress.org/tags/mh_display_prayer_times/

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈MH Dispaly Prayer Times widget〉的開發相關工作。

參與者

將〈MH Dispaly Prayer Times widget〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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