[WordPress] 外掛分享: Intl DateTime Calendar

首頁外掛目錄 › Intl DateTime Calendar
WordPress 外掛 Intl DateTime Calendar 的封面圖片
10+
安裝啟用
尚無評分
15 天前
最後更新
問題解決
WordPress 6.5+ PHP 8.1+ v2.0.3 上架:2025-05-11

內容簡介

總結:Intl DateTime Calendar 外掛透過 ECMAScript 國際化 API,轉換您 WordPress 網站上日期和時間的顯示方式。此外掛讓您可以在不影響數據庫或 SEO 的情況下切換不同的日曆系統,如佛曆、伊斯蘭曆、希伯來曆等。

問題與答案:
- 這個外掛的主要功能是什麼?
- 回答:這個外掛可以改變您 WordPress 網站上日期和時間的顯示方式,支援多種日曆系統,包括佛曆、伊斯蘭曆、希伯來曆等。

- 這個外掛支援哪些日曆系統?
- 回答:外掛支援的日曆系統包括儒略曆、佛曆、中國農曆、埃及曆、埃塞俄比亞曆、希伯來曆、印度曆、伊斯蘭曆、ISO 8601、日本曆、波斯曆、中華民國曆等。

- 這個外掛的使用案例有哪些?
- 回答:主要使用案例包括泰國的佛曆網站需要佛曆年份、伊斯蘭曆網站需要伊斯蘭曆日期、多語言網站希望日期以本地日曆系統顯示、需要特定日期格式但不影響 SEO 的任何網站。

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.0.3) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Intl DateTime Calendar」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Intl DateTime Calendar changes how dates are written on your site without changing what is stored. You pick a calendar. Your posts, archives and comments then show dates the way your readers write them. Every date stays in the database exactly as WordPress saved it. The machine readable date that search engines look for stays untouched.
What it does

Any calendar system including Buddhist, Hijri, Hebrew, Persian, Japanese, Indian, Coptic, Ethiopic and Chinese
Native digits so a Thai site can show ๔ พฤษภาคม ๒๕๖๘ and an Arabic site can show ٦ ذو القعدة ١٤٤٦
Your existing date format is respected, including any custom format set on an individual block
Where it counts on post dates, modified dates, comments and archives, and nowhere else. What a plugin stores is never touched
Correct for search engines because the underlying datetime attribute stays Gregorian and unambiguous
No database changes at all. Switching calendars or removing the plugin leaves your content untouched

Dates are written before the page is sent
On a host with the PHP intl extension, dates are converted on the server. Readers see the right calendar immediately. There is no flicker as the page loads. Dates remain correct for anyone browsing with JavaScript turned off. Under this setup, the plugin adds no JavaScript to your pages.
If your host lacks the intl extension, everything still works. The conversion moves to the browser and a small script is added to each page. Site Health tells you which method your site is using.
Supported calendars
Gregorian, Buddhist, Chinese, Coptic, Dangi, Ethiopic, Ethiopic Amete Alem, Hebrew, Indian, Islamic, Islamic Civil, Islamic Saudi Arabia, Islamic Tabular, Islamic Umm al-Qura, ISO 8601, Japanese, Persian and Republic of China.
Supported digits
Every decimal numbering system Unicode defines, which is around 77 of them. The familiar ones are listed first. Western, Arabic Indic, Eastern Arabic Indic, Bengali, Devanagari, Thai, Lao, Myanmar, Tibetan, Gurmukhi, Gujarati, Kannada, Malayalam, Odia, Tamil, Telugu, Sinhala, Khmer, Han decimal and full width. Every other script follows, each shown next to a sample of its digits.
Only the systems your server can actually write are offered, so the list matches the version of ICU your host runs. You can also leave this alone and let the site language decide.
Privacy
This plugin does not collect, store or send any personal data.

延伸相關外掛

文章
Filter
Mastodon