[wordpress插件] Current Year and Symbols Shortcode当前年份和符号简码

wordpress 插件 文章 2020-04-07 01:30 438 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

IF NOT WORK, OPEN TICKET.

如果不工作,请打开票证。

Get current year, copyright and trademark symbol with shortcode.

获取带有短代码的当前年份,版权和商标符号。

[y] display current year 2019

[y]显示当前年份 2019

[c] display copyright symbol ©

[c]显示版权符号©

[t] display registered trademark symbol ®

[t]显示注册商标符号®

[tm] display unregistered trademark symbol

[tm]显示未注册的商标符号

[sm] display service mark symbol

[sm]显示服务标记符号

[cc] display Copyright

[cc]显示版权

[cy] display symbol of copyright and current year ©2019

[cy]显示版权和当前年份的符号©2019

[cyy year=”2003″] display symbol of copyright, first year, current year ©2003-2019

[cyy year =” 2003”]显示版权符号,第一年,当年©2003-2019

[cyyl year=”2003″] display copyright, first year, current year Copyright 2003-2019

[cyyl year =” 2003”]显示版权,第一年,当前年版权2003-2019

[cyyls year=”2003″] display copyright (+©), first year, current year ©Copyright 2003-2019

[cyyls year =” 2003”]显示版权(+©),第一年,当前年份©版权所有2003-2019

Format Attribute

格式属性

For shortcode with year you can choose format with attribute format=””.

对于带有年份的简码,可以选择属性格式为“””的格式。

It support “Y” (es.2019) or “y” (es.19).

它支持“ Y”(es.2019)或“ y”(es.19)。

Default format without attribute is “Y”.

没有属性的默认格式为“ Y”。

You must enter year attribute in the same format.

您必须以相同的格式输入年份属性。

Example

示例

[cyy year=”03″ format=”y”] ©03-19

[cyy year =” 03”格式=” y”] ©03-19

[cyy year=”2003″ format=”Y”] ©2003-2019

[cyy year =” 2003”格式=“ Y”] ©2003-2019

Offset Attribute

偏移属性

For year shortcode [y] you can add offset with attribute offset=””.

对于年份简码[y],您可以使用属性offset =””添加偏移量。

It support + or -.

它支持+或-。

Example

示例

[y offset=”+41″] 2060

[y offset =” + 41”] 2060

安装步骤

    1. Upload the plugin files to the ‘/wp-content/plugins/’ directory, or install the plugin through the WordPress plugins screen directly.
    2. 将插件文件上传到“ / wp-content / plugins /”目录,或直接通过WordPress插件屏幕安装插件。

    3. Activate the plugin through the ‘Plugins’ screen in WordPress.
    4. 通过WordPress中的“插件”屏幕激活插件。

    5. Add shortcode.
    6. 添加简码。

下载地址
https://downloads.wordpress.org/plugin/current-year-shortcode.zip
-EOF-

AI助手支持GPT4.0