Automatic Copyright Date in Footer

 In Wordpress Admin

So many sites have outdated copyright information while others show just the current year as their copyright date.

Display your correct copyright date (e.g. © 2005-2014) with this code to yourfunctions.php file:


Next, you need to add this to your footer.php file where you would like to display the copyright date:

This function looks for the date of your first post, and the date of your last post. Very cool!

Nuno Sarmento
Freelance WordPress Developer
Recommended Posts

Leave a Comment

Start typing and press Enter to search