This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Current Year and Copyright Shortcodes

Description

IMPORTANT: Support has moved to the ZATZLabs site and is no longer provided on the WordPress.org forums. If you need a timely reply from the developer, please open a ticket.

If you need to display the current year, and have it always kept up to date, inserting this plugin’s [y] shortcode almost anywhere on your web site will do just that.

Version 1.0.2 adds the [m] shortcode for the month in word form and the [d] shortcode for the day of the month.

If you need to display an official Copyright notice, inserting this plugin’s [c] shortcode provides the official C with a circle around it (“©”) required legally in many countries to Copyright many forms of intellectual property.

Used on its own, this plugin allows you to place the Copyright symbol and/or the current year in the body of a Page or Post. For other areas of your web site, you will need to install the jonradio Shortcodes Anywhere or Everywhere plugin. Such places as Page Titles, Post Titles, Custom Fields of both Pages and Posts, Site Title, Description and other bloginfo options, Widgets and Widget Titles, which covers most Sidebars, Menus, Headers and even the HTML <title> element that appears in the Title Bar of most browsers.

The [y] shortcode inserts the four digit current year into any Page or Post no matter whether you use the Visual or the HMTL editor tab in Edit Post or Edit Page. The [c] shortcode inserts the © Copyright symbol, using the official HTML coding for a copyright symbol. To address restrictions within older WordPress versions of using two Shortcodes side-by-side, the [cy] shortcode inserts the © Copyright symbol, a blank and the current year.

For example, if you are continually refining an older article that you want to copyright on a WordPress Page, you could put the following at the bottom of the page:
[c] 1997-[y] John Smith
Assuming it is currently the year 2014, that would display as:

© 1997-2014 John Smith

In 2015, it would automatically display as © 1997-2015 John Smith without anyone having to edit the Page.

Adoption Notice
This plugin was recently adopted by David Gewirtz and ongoing support and updates will continue. Feel free to visit David’s Lab Notes for additional details and to sign up for emailed news updates.

Special thanks to Jon ‘jonradio’ Pearkins for creating the plugin and making adoption possible.

Screenshots

  • [c] 1997-[y] John Smith as it was displayed in the year 2012

Installation

This section describes how to install the jonradio Current Year and Copyright Shortcodes plugin and get it working.

  1. Use Add Plugin within the WordPress Admin panel to download and install this jonradio Current Year and Copyright Shortcodes plugin from the WordPress.org plugin repository (preferred method). Or download and unzip this plugin, then upload the /jonradio-current-year-and-copyright-shortcodes/ directory to your WordPress web site’s /wp-content/plugins/ directory.
  2. Activate the jonradio Current Year and Copyright Shortcodes plugin through the Installed Plugins Admin panel in WordPress. If you have a WordPress Network (“Multisite”), you can either Network Activate this plugin, or Activate it individually on the sites where you wish to use it. Activating on individual sites within a Network avoids some of the confusion created by WordPress’ hiding of Network Activated plugins on the Plugin menu of individual sites. Alternatively, to avoid this confusion, you can install the jonradio Reveal Network Activated Plugins plugin.
  3. Insert the [y], [c] and/or [cy] shortcodes as many times as you wish in one or more WordPress Pages or Posts.

FAQ

Why are some or all of the Shortcodes showing instead of their values being displayed?

This can happen if this plugin is not activated on the site you are using it on. Or if you mistyped the name of the Shortcode.

If you need to use a Shortcode other than in the body of a Page or Post, you will also need the jonradio Reveal Network Activated Plugins plugin. It must be activated and have the relevant Settings selected that correspond with where you have inserted the Shortcodes.

How can I change the names of the Shortcodes?

If there is enough interest, we will add that capability to a future version. Please let us know, including your ideas on how you would like it to work, and any shortcode naming conflicts with other plugins that you found.

You can fill out this Contact Form (click here).

Reviews

January 20, 2019
Works well. The text responds properly when editing borders, alignment, and padding. Other similar plugins were not working correctly.
February 23, 2018
Using The7 theme, the shortcode will work in some places but not others. Can't fault either this plugin or the theme, but if using the plugin, be aware there can be issues.
February 22, 2017 1 reply
Wasted a lot of time trying to get this plug-in to work, which it didn't, even after wasting additional time with the same developer's "Shortcodes Anywhere and Everywhere"....Note that this plug-in is not updated or maintained in any way for current versions of WordPress, so I would recommend finding an alternate solution. Finding an answer as to why it didn't work was also futile. No real answer is available publicly, even though I saw that other people had the same issue. When I reached out to the developer of this plug-in for some help ... he offered very little of it, was rude, unhelpful, and finally condescended to give me a useless answer that I already knew ... "Yea. It won't work...."
September 3, 2016
Thank you for this shortcode solution. I was so tired of editing the php files and having my edits deleted with every theme update. This short code works exactly as expected.
Read all 13 reviews

Contributors & Developers

“Current Year and Copyright Shortcodes” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0

  • Copyright shortcode added
  • Current Year Shortcode converted from Shortcode Exec PHP plugin to standalone Plugin