[WordPress] 外掛分享: Current Year Date Shortcode

前言介紹

  • 這款 WordPress 外掛「Current Year Date Shortcode」是 2024-04-15 上架。
  • 目前有 40 個安裝啟用數。
  • 上一次更新是 2024-04-22,距離現在已有 377 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 4.6 以上版本才可以安裝。
  • 有 4 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

aronikakume |

外掛標籤

date shortcode | time shortcode | year shortcode | current year shortcode |

內容簡介

總結:Curent Year Date 是一個 WordPress 外掛,讓您透過簡單的短碼在 WordPress 網站的任何地方插入當前的年份、月份和日期。

1. 如何在 WordPress 網站使用 Current Year Date 外掛?
- 使用短碼 [cyds_Year] 在任何文章、頁面或小工具中顯示當前年份。

2. 外掛如何運作?
- [cyds_current_date]:插入當前動態日期值,例如 2024-02-09。
- [cyds_current_date format="d/m/Y"]:以自定義格式插入當前動態日期值,例如 23-02-2024。
- [cyds_Year]:插入四位數的當前年份,例如 2023。
- [cyds_year]:插入兩位數的當前年份,例如 23。
- [cyds_Month]:插入兩位數的當前月份,例如 01。
- [cyds_month]:插入沒有前置零的當前月份,例如 1。
- [cyds_month_textual]:插入當前月份作為文字,例如 January。
- [cyds_month_textual_short]:以三個字母插入當前月份,例如 Jan。
- [cyds_Day]:插入兩位數的當前日期,例如 06。
- [cyds_day]:插入沒有前置零的當前日期,例如 6。
- [cyds_day_textual_short]:以三個字母插入當前日期,例如 Mon。
- [cyds_day_textual]:插入當前日期作為文字,例如 Monday。
- [cyds_time color="#000"]:插入當前時間,例如 16:58:00。
- [cyds_show_user_ip]:插入當前使用者 IP,例如 179.23.45。
- [cyds_c]:取回 © 符號。
- [cyds_cc]:取回 Copyright。
- [cyds_registered_trademark]:取回 ® 符號。
- [cyds_trademark]:取回 ™ 符號。
- [cyds_servicemark_trademark]:取回 ℠ 符號。

原文外掛簡介

**Current Year Date* lets you insert the current year, month and day anywhere in your WordPress site with a simple shortcode.
Use the shortcode [cyds_Year] in any post, page or widget to display the current year.
How it works
[cyds_current_date] – inserts the current dynamic date values e.g. 2024-02-09
[cyds_current_date format=”d/m/Y”] – inserts the current dynamic date values with custom format e.g. 23-02-2024
[cyds_Year] – inserts the current year with four digits e.g. 2023
[cyds_year] – inserts the current year with two digits e.g. 23
[cyds_Month] – inserts the current month with two digits e.g. 01
[cyds_month] – inserts the current month without leading zeros e.g. 1
[cyds_month_textual] – inserts the current month as a text e.g. January
[cyds_month_textual_short] – inserts the current month with three letters e.g. Jan
[cyds_Day] – inserts the current day with two digits e.g. 06
[cyds_day] – inserts the current day without leading zeros e.g. 6
[cyds_day_textual_short] – inserts the current day with three letters e.g. Mon
[cyds_day_textual] – inserts the current day as a text e.g. Monday
[cyds_time color=”#000″] – inserts the current time e.g. 16:58:00
[cyds_show_user_ip] – insert the current user ip e.g. 179.23.45.
[cyds_c] – Retrive © symbol
[cyds_cc] – Retrive Copyright
[cyds_registered_trademark] – Retrieve ® symbol
[cyds_trademark] – Retrieve ™ symbol
[cyds_servicemark_trademark] – Retrieve ℠ symbol

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Current Year Date Shortcode」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


最新版本

延伸相關外掛(你可能也想知道)

  • Current Date for Posts, Pages, or Template 》顯示當前時間和日期, 您是否曾經想在您的網站上顯示今天的日期並保持其自動更新以供搜索引擎和訪客使用?, 這個外掛程式最大程度地提供了彈性,讓您選擇當前...。

文章
Filter
Apply Filters
Mastodon