Every year bloggers should update the Copyright Year at the bottom of their blog. Footer should always indicate the current year. It applies to any online intellectual property. If you have a blog, at the end of every year, you can sign in and change the year in your wordpress theme manually. But if you have several websites, it would be a hectic job. Isn’t it?
Here is the solution to save your valuable time. We can add a piece of PHP code that will be update Copyright Year according to your web server’s System Time.
Usually the Copyright Notice looks like:
Copyright © 2009-2010 WordPress Rockers Blog
We need to change the latest year from that Copyright Notice. To do so, let follow these steps:
- Log in to your WordPress dashboard and go to
Appearance > Editor
. - Now click on
Footer (footer.php)
from Templates list. Source code forfooter.php
will be loaded in the large textbox. - Search the Copyright Notice in the box, usually you will find it at the very end of the box.
- Depending on the theme, you may find Copyright Notice displayed in different ways. Don’t worry. Just replace the latest year with the following PHP code
- If you are not happy with your existing Copyright Notice, you can remove the notice and replace with the following:
- That’s it. Once you are happy, click
Update File
button.
1 |
<?php echo date ( 'Y' ) ; ?> |
1 |
<p>Copyright © 2009-<?php echo date ( 'Y' ) ; ?> [Your Blog Name]</p> |
Good luck with the change and if you need help just leave a comment.
Cheers!
DO YOU NEED OUR HELP?
Contact our experts, most of the time we assist our readers free of charge.Those who found this page were searching for:
- wordpress html current year
- copyright wordpress footer svenska
- how to update footer every year html
- wordpress copyright footer
- footer wordpress copyright dove é?
- adding copyright year into html footer
- code for adding copyright footer to wordpress
- add copyright to footer in wordpress
- add copyright footer wordpress
- share buttons for wordpress footer