)

Auto-update Copyright Year in WP Footer

Last Updated: 2 years ago by BrodNeil

Are you tired of manually updating the copyright year in your WordPress footer every year?

Updating it every year and more so updating it in each post and page is time-consuming.

If you are wondering how to auto-update the copyright year in your WP footer, you can use thisĀ <?php echo date(‘Y’); ?>.

An example would be:

<?php echo date(‘Y’); ?> BrodNeil.com

Which will produce to

2013 BrodNeil.com

as <?php echo date(‘Y’); ?> changes to year.

Hope this makes things easy for non-coders like me.