PHP code for updating the year automatically in WordPress

Loading more than one Google font in one request can help to speed up page load time and keep your code tidy.

How is it done?

In your footer.php add:

&copy; Copyright <?php echo date("Y"); ?>

NOTE: Your hosting account must be able to run PHP.

Written on February 2, 2017

Share this post