How To Auto Update Copyright Year In WordPress Blog
New year, 2012 already started and found that many blogger haven’t change their copyright year in the footer of their WordPress blog. Some premium WordPress themes will already have this code installed in their footer, but if you are using free WordPress theme then might be you will found old copyright year in the footer and you need to change it every year manually. Suffusion and Delicate are the most downloaded theme after the default WordPress themes and you will find the old copyright year in the theme preview. If you want to make it automated then you need to add some php code in footer of your WordPress theme and it will update as the year change.
All of you know that it’s very easy to change the copyright year in the footer but if you have large numbers of blog than you need to change it manually on all the blogs and it will consume your time so it’s better to make it auto update with the help of code. If you want to change the copyright year manually, just go to the WordPress Theme editor in the admin dashboard and select footer.php to change the code by replacing the previous year value with the current year value.
Auto Update Copyright Year In WordPress Blog
WordPress already offers theme editor and you can make any code changes via theme editor without going to your hosting control panel. Even if you haven’t use the WordPress Theme Editor before it’s not a big deal because it just like editing a post but I suggest you to back up footer.php by copying all the code and save it in a text file on your computer before editing it.
To change copyright year in WordPress follow below steps.
1. Login to your WordPress admin dashboard.
2. Go to Appearance and select editor
3. Find your themes footer.php file
4. Find the year currently being displayed in your footer and replace with below code and save the changes.
© Copyright 2011–<?php echo date(‘Y’); ?> <?php bloginfo(‘name’); ?>. All rights reserved.
© Copyright <?php echo date(‘Y’); ?> <?php bloginfo(‘name’); ?>. All rights reserved.
In the above code you need to change 2011 with your blog launching year. You can see the live preview in the footer of this site. It’s time to change your copyright footer in your WordPress blog and make it automated. Happy New Year…