How to auto-update the year in your footer

Instead of manually updating the year in the footer.php of your WordPress blog every time a new year comes, you can make it update itself automatically by using this bit of code: <?php echo date(‘Y’); ?> Just add the code in place of the year and it will display the current year. Example: This will …

How to auto-update the year in your footer Read More ยป