BACK TO DIRECTORY

Dynamic Year and Copyright Shortcode

by Deepak Kumar Vellingiri

3.2
(5 ratings)

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

Screenshots

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

Plugin Details

Active Installs
200
Total Downloads
9,902
Version
0.1
Requires WP
3.0.1
Requires PHP
Tested Up To
4.9.31
Added
2015-11-01
Last Updated
2018-01-30 11:38am GMT

Ratings

5
2
4
1
3
0
2
0
1
2