New Year is behind us. It is that part of the year when we make New Year’s resolutions, and spend time with our loved ones. This is part of what makes New Year special. This time of year we pay attention to the things that matter most. But what about your website?
It also needs love and one of the first things to check after the New Year is the website footer. Why does that matter? When your readers notice an outdated year in the footer they might think your website content is out of date. It’s a small thing that can do a lot of damage, but really really easy to fix. Go ahead and take a look. It is usually located next to the copyright on the very bottom of the webpage.
So one of the first things you should do after the New Year holidays is to check the year in the footer of the website, or any other place that might have it, and make sure it reflects the new year.
OK, so how do I update it?
If the footer is configured properly, the new year will be populated automatically. When the year is hardcoded, you will need to manually change it, likely under the footer template.
To take a swing on your own at making the year update automatically in the future check out the following tips:
Locate the year in the correct template (usually footer) and add short PHP code snippet
<?php echo date('Y'); ?>. That will check the server year and ensure your website displaying the correct year at all times.
Here is how it looks from the theme editor. **Pro Tip: Do not forget to create a backup before you make any changes**:
In case you do not see it under footer.php, check widgets. To display it dynamically you might want to use shortcodes.
Some themes have this under theme settings >> Copyright Text:
I hope this tip has been helpful! Drop us a line at hello@valet dot io if you have any questions.
Happy New Year! 🙂