跳到内容

MH Dispaly Prayer Times widget

v1.0

mnesar · 2012年3月11日 上架

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

正在使用
10+
评分
5.0 / 5
累计下载
3,994
最近更新
2012年3月18日
1 条评价需要 WordPress 3.1+已测试到 3.3.2

贡献者

截图

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

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)

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums