For the last few years, I’ve been using a small script inline on all of my projects for an auto-updating year within the copyright section of my websites, normally in the footer.
It would look something like this:
©2012-<script>document.write((new Date).getFullYear());</script> Siam Tek is a Trademark of Siam Tek Web Design Group
Enter (drumroll, please) the shortcode, which can be added in the child theme’s
functions.php file (SOURCE: My Github Gist):
Once the functions.php is saved, you can use the shortcode
[[year]] in all shortcode enabled areas of your website to get the same result!