Automatically adjust Copyright Years

April 6th, 2011 Category: WordPress

Often blogs have the copy right years hard coded in the footer. e.g. © 2008-2010. Ok this looks nice and informs the visitor how long the blog exists. But changing the footer every year is not a very lovely work to do. So my advise is to change the copyright information so that the year is changed automatically. An easy way to to this is to change the copyright information to something like this:

© 2008-<?php echo date('Y'); ?> My Blog

And you don’t have to change the copyright years in future.

Share and Enjoy:
These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • StumbleUpon
  • Reddit
  • Webnews
  • MisterWong
  • Y!GG
  • Facebook
  • Furl
  • Google Bookmarks
  • Live-MSN
  • Readster
  • YahooMyWeb

No related posts.

This entry was posted on Wednesday, April 6th, 2011 and is filed under WordPress. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply