[WordPress] 外掛分享: Dynamic Year and Copyright Shortcode

首頁外掛目錄 › Dynamic Year and Copyright Shortcode
300+
安裝啟用
★★★☆☆
3.2/5 分(5 則評價)
2970 天前
最後更新
問題解決
WordPress 3.0.1+ v0.1 上架:2015-10-31

內容簡介

這個外掛可以透過將當前年份存儲在 shortcode [current_year] 中,來保持網站的版權年份始終更新。

這個外掛有三種變化的 shortcode:

[current_year] - 這個 shortcode 顯示當前年份。假設當前年份是2015,則所有使用它的地方都會顯示「2015」(不包括引號)。

[current_year_with_copyright_symbol] - 這個 shortcode 會顯示帶版權符號的當前年份。假設當前年份是2015,則所有使用它的地方都會顯示「© 2015」(不包括引號)。

[current_year_with_copyright_symbol_and_title] - 這個 shortcode 會顯示帶版權符號和網站標題左側的當前年份。假設當前年份是2015,則所有使用它的地方都會顯示「Site Title © 2015」(不包括引號)。

可用的 Shortcode 功能

當前年份
帶版權符號的當前年份
帶版權符號和標題的當前年份

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Dynamic Year and Copyright Shortcode」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

This plugins allows you to keep the Copyright year of the website always updated by getting the current year and storing it in the shortcode [current_year].
There are three variations of this plugin’s shortcode
[current_year] – This shortcode displays the current year. Assuming that the current year is 2015 then the shortcode will display “2015” (without quotes) wherever it is used.
[current_year_with_copyright_symbol] – This shortcode displays the current year with the copyright symbol to its left. Assuming the current year to be 2015 the shorcode will display “© 2015” (without quotes) wherever it is used.
[current_year_with_copyright_symbol_and_title] – This shortcode displays the current year with the copyright symbol and site title to its left. Assuming the current year to be 2015 the shorcode will display “Site Title © 2015” (without quotes) wherever it is used.
Shortcode Features Available

Current Year
Current Year with copyright symbol
Current Year with copyright symbol and title

延伸相關外掛

文章
Filter
Apply Filters
Mastodon