Auto-update Copyright Year in WP Footer

Last Updated on December 19, 2019 by BrodNeil

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.

Leave a Comment