Title: ICOUK Hijri Date
Author: icoukplugin
Published: <strong>2025 年 11 月 30 日</strong>
Last modified: 2026 年 1 月 5 日

---

搜索插件

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

![](https://ps.w.org/icouk-hijri-date/assets/icon-256x256.png?rev=3406234)

# ICOUK Hijri Date

 作者：[icoukplugin](https://profiles.wordpress.org/icoukplugin/)

[下载](https://downloads.wordpress.org/plugin/icouk-hijri-date.1.0.0.zip)

 * [详情](https://cn.wordpress.org/plugins/icouk-hijri-date/#description)
 * [评价](https://cn.wordpress.org/plugins/icouk-hijri-date/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/icouk-hijri-date/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/icouk-hijri-date/#developers)

 [支持](https://wordpress.org/support/plugin/icouk-hijri-date/)

## 描述

The ICOUK Hijri Date plugin allows you to easily display the current Hijri date 
on your WordPress website. Perfect for Islamic websites, mosques, and communities
who need to show the Islamic calendar date.

#### Features

 * Display current Hijri date using shortcode
 * Configurable country settings
 * Secure API authentication
 * Easy to use and integrate
 * Responsive design
 * Error handling and user feedback

#### How to Use

 1. Install and activate the plugin
 2. Go to **Settings > ICOUK Hijri Date**
 3. Enter your API Bearer token
 4. Set your country (defaults to UK)
 5. Use the shortcode `[icouk_hijri_date]` in any post or page

#### Shortcode

Use the shortcode `[icouk_hijri_date]` to display the current Hijri date anywhere
on your website.

#### Configuration

The plugin requires configuration before use:

 1. **Bearer Token**: Enter your Moon Sighting UK API authentication token
 2. **Country**: Set your country code (defaults to UK)

#### API Integration

This plugin integrates with the Moon Sighting UK API to fetch accurate Hijri date
information. The API is free to ICOUK registered members. You’ll need to obtain 
an API key from the Moon Sighting UK service.

### External Services

This plugin connects to the Moon Sighting UK API to obtain current Hijri date information.
This service is required to display the accurate Islamic calendar date on your website.

**What data is sent and when:**
 – Your configured country code (e.g., “UK”, “MA”)
is sent with each API request – Your Bearer token is sent for authentication – API
requests are made when the shortcode is displayed on your website – Data is cached
for 10 minutes to reduce API calls

**Service Provider:** Moon Sighting UK (ICOUK)
 – **Website:** https://www.moonsighting.
org.uk/ – **API Endpoint:** https://www.moonsighting.org.uk/api/index.php/v1/ – **
Terms of Service:** https://www.moonsighting.org.uk/terms-of-use.html – **Privacy
Policy:** https://www.moonsighting.org.uk/privacy-policy.html

**Data Transmission:**
 – Country code and Bearer token are transmitted over HTTPS–
No personal user data is collected or transmitted – API responses are cached locally
to minimize external requests

## 安装

 1. Upload the plugin files to the `/wp-content/plugins/icouk-hijri-date` directory,
    or install the plugin through the WordPress admin screen.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress
 3. Go to **Settings > ICOUK Hijri Date** to configure the API settings
 4. Use the shortcode `[icouk_hijri_date]` in your posts or pages

## 常见问题

### Do I need an API key?

Yes, you need a Bearer token from the Moon Sighting UK API service to use this plugin.

### Can I change the country?

Yes, you can configure the country in the plugin settings. The default is UK.

### Where can I use the shortcode?

You can use the shortcode `[icouk_hijri_date]` in posts, pages, widgets, or any 
area that supports shortcodes.

### What if the API is down?

The plugin includes error handling and will display a user-friendly error message
if the API is unavailable.

### Is this plugin free?

Yes, this plugin is free to use and is released under the GPL license.

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

 *   [ icoukplugin ](https://profiles.wordpress.org/icoukplugin/)

[帮助将「ICOUK Hijri Date」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/icouk-hijri-date)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/icouk-hijri-date/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/icouk-hijri-date/)，或通过[RSS](https://plugins.trac.wordpress.org/log/icouk-hijri-date/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/icouk-hijri-date/)。

## 更新日志

#### 1.0.0

 * Initial release
 * Basic Hijri date display functionality
 * Settings page for API configuration
 * Shortcode support
 * Error handling

## 额外信息

 *  版本 **1.0.0**
 *  最后更新：**9 月前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **6.8.11**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/icouk-hijri-date/)
 * 标签
 * [calendar](https://cn.wordpress.org/plugins/tags/calendar/)[date](https://cn.wordpress.org/plugins/tags/date/)
   [hijri](https://cn.wordpress.org/plugins/tags/hijri/)[islamic](https://cn.wordpress.org/plugins/tags/islamic/)
   [moon-sighting](https://cn.wordpress.org/plugins/tags/moon-sighting/)
 *  [高级视图](https://cn.wordpress.org/plugins/icouk-hijri-date/advanced/)

## 评级

尚未提交反馈。

[您的评价](https://wordpress.org/support/plugin/icouk-hijri-date/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/icouk-hijri-date/reviews/)

## 贡献者

 *   [ icoukplugin ](https://profiles.wordpress.org/icoukplugin/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/icouk-hijri-date/)