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

Automatic Copyrights Shortcode

外掛說明

Are you tired of updating the copyright year of your websites every year?

Don’t worry! This plugin allows you to write once and forget about the updating it every year. Just write the schortcode [acs] in the post or widget or anywhere, and it will show the complete copyright year with ‘copyright symbol’, ‘copyright text’, ‘current year’, ‘site name’ and ‘site url’.

Tested with WordPress 5.0.3!

[acs] shortcode also support various attributes and that can be hide or modified easily.

Plugin Usage

  1. By default, writing [acs] shortcode will produce like © copyright 2019 WordPress
  2. You can skip anything in default copyright text, just write ‘hide’ for that attribute
  3. For example, to hide the copyright symbol from copyright, just write [asc symbol=’hide’] and it will hide the symbol copyright 2019 WordPress
  4. You can also change anything in default copyright text, just write the value of that attribute
  5. For example, to change the default title of the site, just write [asc title=’WordPress.org’] and it will override the default value © copyright 2019 WordPress.org
  6. You can add the founded year in copyright text, just write the year to attribute byear
  7. For example, to write 2012 as founded year, just write [asc byear=’2012′] and it will show like © copyright 2012-2019 WordPress

Is it not simple? Yes! definitely it is.

Below is the list of all attributes you can modify or hide.

Available Attributes

  1. symbol – It shows the copyright symbol. Default value is ‘©’
  2. copyright – It shows the copyright text. Default value is ‘copyright’
  3. cyear – It shows the current year. Default value is ‘true’
  4. byear – It shows the founded year. Default value is ‘false’
  5. title – It shows the site name. Default value is your site name
  6. url – It links the url to the title. Default value is your site url

螢幕擷圖

  • Usage of shortcode in Post/Page Editor
  • Output of shortcode on front-end

安裝方式

Installing directly from wordpress backend

  1. Goto Plugins -> Add New
  2. Search for Automatic Copyrights Shortcode
  3. Install and Activate the plugin
  4. Use the shortcode [acs] wherever you want.

常見問題集

How do I get my copyright show on my site?

Try adding the shortcode [acs] to wherever you’d like to display the copyright on.

What attributes does the [acs] shortcode accept?

Automatic Copyrights Shortcode accepts the six attributes: “symbol”, “copyright”, “cyear”, “byear”, “title” and “url”.

使用者評論

2019 年 3 月 22 日
Worked great until I logged out of WordPress. The next time I logged in, the admin panel would not start. I deactivated this plugin externally, via the Blue Host user portal, and everything was back to normal. I re-activated it, and had the same issue with not being able to log back into the admin panel. Deactivated it again, and problem was resolved.
閱讀全部 1 則使用者評論

參與者及開發者

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

參與者

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

對開發相關資訊感興趣?

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

變更記錄

1.0

  • Initial version