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

Current Year Shortcodes

描述

Current Year Shortcodes lets you insert the current year, month and day anywhere in your WordPress site with a simple shortcode.

Use the shortcode [Y] in any post, page or widget to display the current year.

How it works

[Y] – inserts the current year with four digits e.g. 2023
[y] – inserts the current year with two digits e.g. 23
[m] – inserts the current month with two digits e.g. 01
[n] – inserts the current month without leading zeros e.g. 1
[F] – inserts the current month as a text e.g. January
[M] – inserts the current month with three letters e.g. Jan
[d] – inserts the current day with two digits e.g. 06
[j] – inserts the current day without leading zeros e.g. 6
[D] – inserts the current day with three letters e.g. Mon
[l] – inserts the current day as a text e.g. Monday

評價

2024年1月6日
Well it does what is says. Works fine with Elementor. Installed, inserted the short code, and never think about it again 🙂 Thank you
2023年6月17日 2 replies
Added the [Y] code into the footer, and doesnt work, so deleted the plugin – not a good start!
閱讀全部3個評價

貢獻者及開發者

“Current Year Shortcodes” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Current Year Shortcodes 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

0.3

  • Added translations for months and days

0.2

  • Added current month and current day
  • Added logo

0.1

  • Initial Release