How to add WordPress footer that will update Copyright Year automatically every year?

If you liked this article, you may also like:


How to add WordPress footer that will update Copyright Year automatically every year?

Every year bloggers should update the Copyright Year at the bottom of their blog. Footer should always indicate the current year. It applies to any online intellectual property. If you have a blog, at the end of every year, you can sign in and change the year in your wordpress theme manually. But if you have several websites, it would be a hectic job. Isn’t it?

Here is the solution to save your valuable time. We can add a piece of PHP code that will be update Copyright Year according to your web server’s System Time.

Usually the Copyright Notice looks like:

Copyright © 2009-2010 WordPress Rockers Blog

We need to change the latest year from that Copyright Notice. To do so, let follow these steps:

  1. Log in to your WordPress dashboard and go to Appearance > Editor.
  2. Now click on Footer (footer.php) from Templates list. Source code for footer.php will be loaded in the large textbox.
  3. Search the Copyright Notice in the box, usually you will find it at the very end of the box.
  4. Depending on the theme, you may find Copyright Notice displayed in different ways. Don’t worry. Just replace the latest year with the following PHP code
  5. 1
    
    <?php echo date('Y'); ?>
  6. If you are not happy with your existing Copyright Notice, you can remove the notice and replace with the following:
  7. 1
    
    <p>Copyright &copy; 2009-<?php echo date('Y'); ?> [Your Blog Name]</p>
  8. That’s it. Once you are happy, click Update File button.

Good luck with the change and if you need help just leave a comment.

Cheers!

By | On Wednesday, June 30th, 2010 | Under How To's | 2 Comments »


DO YOU NEED OUR HELP?

Contact our experts, most of the time we assist our readers free of charge.

Those who found this page were searching for:

  • copyright year update every year
  • share buttons for wordpress footer
  • html code for footer copyright notice
  • wordpress add copyright to footer
  • footer wordpress copyright dove é?
  • how to update copyright years on wordpress
  • remove copyright year 2009 worpress
  • wordpress footer php copyright year blog name
  • wordpress copyright year html
  • put current year in footer wordpress

{ 2 comments… read them below or add one }

Winston Crutchfield November 7, 2011 at 7:49 pm

Awesome tip! Simple, easy, and just what I needed. Thanks!

Reply

Jinnat Ul Hasan November 8, 2011 at 3:38 am

You are welcome

Reply

Leave a Comment