An out of date copyright year in a site’s footer is a common site, especially early in the year.
Even though copyrights are tiny and easy to overlook, having a current one is a major mark of a well maintained and well built site.
If it’s been on your to-do list to change over your site’s year manually (like it’s been on mine!), this tutorial will teach you how changing a few lines of code will mean that you’ll never have to worry about it again!
1. Open up your text editor and FTP software.
In this example, I’ll be using a program called Coda which functions as both.
You should already have your FTP software configured so you have access to the server-side files for the site you’re working on.
2. Open up footer.php in your Parent theme’s folder on your server. In this case, the location of the file is: public_html/wp_content/themes/rosemary/footer.php.
3. Copy all the code in your Parent theme’s
4. Create a new file within your child theme and title it
5. Paste the code you copied from your Parent theme’s footer into the new footer.php file you created within your child theme.
6. Find the portion of the code in your footer that controls the date.
Typically it will be something as simple as finding the previous year’s text (ie. 2015) and replacing it with date( ‘Y’ ), feel free to add any other text necessary for your copyright here as well.
Because my theme was set up to be able to edit the date from the appearance customizer, it looks slightly different.
And since this is all rather “Techie”, if you’d like some help, then just Contact Us at Hotpink Websites