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

Snappy Year Shortcode

外掛說明

The easiest way displaying current year and copyright symbol and since year in your copyright footer text or wherever else you like on your site.
Just use shortcodes [Y] for current year and [C] for copyright symbol after plugin activation.

If you need to display the current year, and have it always kept up to date, inserting this plugin’s [y] or [y] shortcode anywhere on your web site will do just that.

If you need to display an official Copyright notice, inserting this plugin’s [C] or [c] shortcode provides the official C with a circle around it (“©”) required legally in many countries to Copyright many forms of intellectual property.

Other shortcodes of this plugin:
* Use [cy] or [CY] to display copyright symbol © and the current year together.
* Use [cc] or [CC] to display copyright symbol © and the word “Copyright”.
* Use [csy since=”2016″] to display the symbol of copyright, first year and current year (Assuming it is currently the year 2019 ex. © 2016-2019).
* Use [ccsy since=”2016″] to display the symbol of copyright (©) and the word “Copyright”, first year and current year (Assuming it is currently the year 2019 ex. © Copyright 2016-2019).

安裝方式

  1. Upload the plugin files to the “/wp-content/plugins/snappy-year-shortcode” directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the “Plugins” menu in WordPress.
  3. Place one or more shortcodes in the footer copyright text or anywhere else on your site to display the actual year and/or copyright symbol.

常見問題集

What are the shortcodes?
  • Use [y] or [Y] to display current year.
  • Use [c] or [C] to display copyright symbol ©.
  • Use [cy] or [CY] to display copyright symbol © and the current year together.
  • Use [cc] or [CC] to display copyright symbol © and the word “Copyright”.
  • Use [csy since=”2016″] to display the symbol of copyright, first year, current year (Assuming it is currently the year 2019 ex. © 2016-2019).
  • Use [ccsy since=”2016″] to display the symbol of copyright (©) and the word “Copyright”, first year, current year (Assuming it is currently the year 2019 ex. © Copyright 2016-2019).
How since year work?

Shortcode with since year works through attribute since=””. It supports numbers only (ex. since=”2016″).
You must enter since attribute for first year.

Example (assuming it is currently the year 2019):
[csy since=”2016″] outputs © 2016-2019
[ccsy since=”2016″] outputs © Copyright 2016-2019

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Snappy Year Shortcode〉的開發相關工作。

參與者

將〈Snappy Year Shortcode〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.0

  • Initial release.

2.0

  • Shortcodes and since attribute functionality added.