跳到内容

Dynamic Year and Copyright Shortcode

v0.1

Deepak Kumar Vellingiri · 2015年11月1日 上架

This plugins allows you to keep the Copyright year of the website always updated.

正在使用
200+
评分
3.2 / 5
累计下载
1 万
最近更新
2018年1月30日
5 条评价需要 WordPress 3.0.1+已测试到 4.9.36

截图

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

This plugins allows you to keep the Copyright year of the website always updated by getting the current year and storing it in the shortcode [current_year].

There are three variations of this plugin’s shortcode

[current_year] – This shortcode displays the current year. Assuming that the current year is 2015 then the shortcode will display “2015” (without quotes) wherever it is used.

[current_year_with_copyright_symbol] – This shortcode displays the current year with the copyright symbol to its left. Assuming the current year to be 2015 the shorcode will display “© 2015” (without quotes) wherever it is used.

[current_year_with_copyright_symbol_and_title] – This shortcode displays the current year with the copyright symbol and site title to its left. Assuming the current year to be 2015 the shorcode will display “Site Title © 2015” (without quotes) wherever it is used.

Shortcode Features Available

  1. Current Year
  2. Current Year with copyright symbol
  3. Current Year with copyright symbol and title

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums