Quick Tip: Add year automatically to footer

If your theme didn’t come with an automatic copyright year function, you can quickly add this code to the “footer.php” file so the current year shows up.

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

If your site is more than two plus years into it, you can add your first year as a fixed date and then add add the snippet above.