What do you rather see in a website? Copyright © 2017 YouDivi or Copyright © 2017 – 2019 YouDivi?
So, if you want to add this neat feature to your WordPress website just follow this quick tutorial.
Update: This tutorial at updateyourfooter.com helps to understand how to change your static timestamp to an automatically updating copyright year.
Without further ado, let’s start!
First of all, go to Appearance > Widgets and add a Text Module.
<p>© Copyright 2017 <script>new Date().getFullYear()>2017&&document.write("- "+new Date().getFullYear());</script> Company Name – All rights reserved.</p>
You may run tests to see how it works. Change both years to 2014 for example and see what happens. It’ll print 2014 – current year.
If you’re interested in learning how to add your logo to your WordPress footer click here.
I hope you learned a thing or two from this blog post. Please, subscribe for more tutorials soon.