內容簡介
這個外掛可以透過將當前年份存儲在 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 功能
當前年份
帶版權符號的當前年份
帶版權符號和標題的當前年份
外掛標籤
開發者團隊
② 後台搜尋「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
