How to Auto Update the Year in Your Website Footer

Just use the PHP date function to return the current date, then use echo to display it. You now have a self-updating year displaying in your footer.

Example:

 © Copyright 2009 - < ?php echo (date("Y")); ?>

Related posts:

  1. How to Make Plugins and Themes That Auto Update
  2. Making WordPress Sub Categories Use Parent Category Template
  3. How to Check if Post Is in a Descendent Category
  4. The Ultimate WordPress Thumbnail Hack
  5. Preventing a WordPress Plugin From Trying to Update

One Comment

Got something to say? Feel free, I want to hear from you! Leave a Comment

  1. Hi I like this post and it is so informational and I am definetly going to bookmark it. I Have to say the Indepth analysis this article has is greatly remarkable.Who goes that extra mile these days? Well Done :) Just another suggestion you shouldinstall a Translator for your Global Audience …

Leave a Comment

Let us know your thoughts on this post but remember to place nicely folks!