Automatically update your footer copyright on a WordPress website

Auto update copyright

It’s now , have you updated your footer copyright date?

Have you ever been to a website and looked at the copyright date and thought… I wonder if they are still in business?  This business looks old… hum… let’s move along.

Of course most of the time we either forget to update it, or we don’t even think about updating the website footer!  This happens a lot, especially when we are busy working on our business, meeting new clients, getting work done.

Good news… we can let the computers do it for you!

Future proof your footer with some simple code!

Grab one of these snippets and paste on your page/widgets (or forward this site as a friendly reminder to someone who can do it for you).

JavaScript Snippets

You can paste this JavaScrip straight into your widgets or when editing a page, page them in ‘TEXT; view.


<script type=”text/javascript”>
document.write(new Date().getFullYear());

This will display a date like this:

Or alternatively if you would like to display a date range you can use the following code:


&copy; 2010<script>new Date().getFullYear()>2010&&document.write(“-“+new Date().getFullYear());</script>, Company.


This will display the following text: © 2010, Company.

This is how it appears in Appearance > Widgets on this WordPress site:


If you would like to add a PHP Snippet instead of Javascript here is a link for the details:

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top
Wordpress Maintenance Checklist

WordPress Maintenance Checklist

Get your FREE checklist for everything you need to maintain your WordPress Site.

  • This field is for validation purposes and should be left unchanged.