Automatically Update WordPress Copyright Year

Automatically Update WordPress Copyright Year

Depending on the theme that you are using for WordPress Theme you may already have the year automatically update. Whether this is hard-coded into your theme or by using the theme functions in admin to make the change.

For many bloggers and corporate sites they simply forget to update this OR more frequently, simply don’t know how to do this because its hard coded in the footer.php file.

This simple tip will allow you to pull in the current date and add it to your WordPress theme site footer and automatically update itself each new year.

Before you make any changes its always advisable to make a backup copy of any files before you make changes in case you break your theme, although for such a simple change its highly unlikely!

Simply add the following code to your footer.php file which is located in your current theme directory (or replace current date code) with the one below:

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

That’s it. Now every new year the year will automatically update itself in the footer of your site.

Amir Farid

Amir Farid

Creative SEO Director at Umbrella Interactive Ltd
Amir Farid is the Creative SEO Director of Umbrella Interactive Ltd. Based in Rochdale, Greater Manchester, Umbrella Interactive provides online and digital media solutions to SME's and start-up businesses. Umbrella Brands include Umbrella Host, SEO Umbrella and Umbrella Web Studio. You Can find him on Google+
Amir Farid

@Umbrella_Host

We are dedicated to providing you with the best #BusinessWebHosting solutions at incredibly cost effective prices. Our #WebHosting platforms are second to none!
RT @WDSecurity: Windows Defender ATP can surface attacks against your #Linux machines, thanks to our sensor partners. Here's a cool video f… - 2 days ago
Amir Farid
Amir Farid
Share this post: