Automatic Update Copyright Year in WordPress Footer

It is new year guys. Have you update the copyright year in your WordPress footer? Make sure it is year 2011 and not 2010. 😛

Here is a tip that you can use to automatically update the copyright year. Open up your footer.php theme file, and add this line:

<p>Copyright &copy; 2005 – <?php echo date(‘Y’); ?></p>

The PHP date(‘Y’); function will display the current year so you don’t have to manually update the copyright year every year. 😉


  1. wahh. nice. i should do that.

  2. oh nsib baik kod ni mmg ada aku cek td..xpyh la tkar manual tiap2 thun..hahaha

  3. Guru Chauhan says:

    Thank you, i will update this through my WordPress sites 🙂

  4. coming up 2012!!