该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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.