跳到内容

Seed Buddhist Year

v1.0.5

SeedThemes · 2016年5月6日 上架

Change output year to Buddhist year or Buddhist Era (BE).

正在使用
3,000+
评分
4.9 / 5
累计下载
2.9 万
最近更新
2026年11月20日
11 条评价需要 WordPress 4.9+已测试到 7.1.5PHP 7.4+

截图

Thai date using Buddhist year.
Thai date using Buddhist year.

Seed Buddhist Year shows the year in the Buddhist Era (BE = CE + 543) where WordPress shows post and comment dates to readers. Dates that code reads, such as feeds and datetime attributes, stay in the Common Era (CE).

Just install and activate. The year changes to BE in:

  • Post dates and times from get_the_date(), the_date(), get_the_time() and the_time()
  • Comment dates from get_comment_date() and comment_date()
  • The Post Date block, including on WordPress 6.9 and later
  • Places that use these functions, such as archive titles, the Latest Posts and Comment Date blocks, and most date columns in the admin lists

These stay in CE on purpose, so feed readers, search engines and other code get the real date:

  • Post and comment feeds (RSS2, Atom)
  • Dates in the ‘c’, ‘r’ and ‘U’ formats and in the PHP constants DATE_ATOM, DATE_COOKIE, DATE_ISO8601, DATE_RFC822, DATE_RFC850, DATE_RFC1036, DATE_RFC1123, DATE_RFC2822, DATE_RFC3339, DATE_RSS and DATE_W3C, which WordPress and most themes use for datetime attributes
  • The publish date when you schedule changes in the Customizer

These are not changed:

  • Modified (“last updated”) dates
  • The Latest Comments block, the Archives widget or block, and the Calendar widget or block
  • The Activity box on the Dashboard
  • Dates in the block editor
  • Dates that a theme or plugin prints with date_i18n(), wp_date() or PHP date(), such as WooCommerce order dates

Official development of Seed Buddhist Year is on GitHub, with official stable releases published on WordPress.org. The GitHub repo can be found at https://github.com/SeedWebs/seed-buddhist-year. Please use the Support tab for potential bugs, issues, or enhancement ideas.

Plums

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

导航

说明

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

© 2026 Plums