type="text/css" />

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 Jinnat Ul Hasan | On Wednesday, June 30th, 2010 | Under How To's | 4 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:

  • wordpress html current year
  • copyright wordpress footer svenska
  • how to update footer every year html
  • wordpress copyright footer
  • footer wordpress copyright dove é?
  • adding copyright year into html footer
  • code for adding copyright footer to wordpress
  • add copyright to footer in wordpress
  • add copyright footer wordpress
  • share buttons for wordpress footer

Previous post:

Next post: