It’s a new year and many websites have a copyright date in the footer which needs updating every year, this can be a hassle and something that is easily forgotten.
Within WordPress however there is a way to set this to auto update using a php timestamp. A normal copyright html usually found in the footer.php file will look like this:
Copyright © 2018 NameofBlog.com
Using the WordPress php echo date simply replace the 2018 with this code:
Copyright © <?php echo date(‘Y’); ?> NameofBlog.com
The year will now update automatically when appropriate saving you one less job to think about, particularly useful if you have lots of websites.