
內容簡介
重要提示:支援已轉移至 ZATZLabs 網站,不再在 WordPress.org 論壇提供。如果您需要開發人員的即時回覆,請提交工單。
如果您需要顯示當前年份並使其保持最新狀態,將此插件的 [y] 短碼插入網站幾乎任何位置即可實現。
版本 1.0.2 增加了 [m] 短碼,用於以文字形式顯示月份,以及 [d] 短碼,用於顯示當月的日期。
如果您需要顯示官方版權聲明,將此插件的 [c] 短碼插入即可提供帶有圓圈的官方 C 版權符號(“©”),這在許多國家法律上是要求版權的智慧財產形式之一。
獨立使用此插件可讓您將版權符號和/或當前年份放置在頁面或文章正文中。對於網站的其他區域,您需要安裝jonradio Shortcodes Anywhere or Everywhere插件,例如頁面標題、文章標題、頁面和文章的自定義欄位、網站標題、描述和其他 bloginfo 選項、小工具和小工具標題,這涵蓋了大多數側邊欄、菜單、標題甚至是顯示在大多數瀏覽器標題欄中的 HTML<title>元素。
[y] 短碼將當前年份的四位數插入到任何頁面或文章中,無論您使用編輯文章或編輯頁面的可視化或 HTML 編輯器選項卡。 [c] 短碼將使用官方 HTML 編碼插入版權符號。為了解決在較舊的 WordPress 版本中使用兩個短碼並排的限制,[cy] 短碼插入了版權符號、空格和當前年份。
例如,如果您正在不斷完善一篇要在 WordPress 頁面上使用的舊文章,您可以在頁面底部放置以下內容:
[c] 1997-[y] John Smith
假設現在是 2014 年,將顯示為:
© 1997-2014 John Smith
在 2015 年,它將自動顯示為 © 1997-2015 John Smith,而不需要任何人編輯文章。
採用通知
這個插件最近被 David Gewirtz 採用,並且將會繼續提供支援和更新。請瀏覽David 的實驗室筆記以獲取更多詳細信息並訂閱電子郵件新聞更新。
特別感謝 Jon “jonradio” Pearkins 創建了這個插件並使採用成為可能。
外掛標籤
開發者團隊
② 後台搜尋「InstallActivateGo Copyright Current Date Shortcodes」→ 直接安裝(推薦)
原文外掛簡介
This plugin provides the [iagc] shortcode, which can be inserted on a WordPress Page or Post to display the official Copyright notice, a C with a circle around it (“©”) required legally in many countries to protect (“copyright”) many forms of intellectual property.
The [iagy] shortcode displays the current year. To display the Copyright symbol followed by the current year, use the [iagcy] shortcode.
Although not required in a Copyright notice, the [iagm] shortcode displays the name of the current month and the [iagd] shortcode displays the current day of the month.
Note that the day, month and year are truly Current, accurate to the moment the Page or Post is displayed, based on the Timezone set in WordPress General Settings.
To provide compatibility with previous Versions of this plugin, the [c], [y], [cy], [m] and [d] shortcodes will still work, but one or more of them will be disabled if any other activated plugin or theme defines the same shortcode, so as not to interfere with that other plugin or theme.
Click here for examples of the shortcodes and an explanation of their use to create valid U.S.A. Copyright Notices.
