How to Add an Automatically Changing Copyright Year in Your Footer
This is a common sight on most sites, something like a “Copyright 2009 – 2010″ or something similar in the footer. Thing is, it’s been more than a month since the new year and yet I’m still seeing “2008″ as the current year on some sites. This is how you can make WordPress change the date for you. Put in this snippet of code wherever you want the dynamic date to be displayed.
Copyright © 200x-<?php echo date(‘Y’); ?> Example.com.
Thanks to forthelose.org for this tip.
Copyright SEOWien 2012.

No comments