TAG | footer
Most people want some sort of copyright statement at the bottom of their WordPress site and this usually includes the year. It makes sense to create this dynamically in PHP, rather than have to update it each year – let PHP do the work for you!
This is something I had to do the other day, and I pretty much put it on every WordPress theme I design in footer.php
Simply insert this PHP code where you want the copyright notice to appear – in the example it is simply styled with paragraph CSS tags, but you could use anything you want, for instance a CSS class.
<p>Content is copyright &copy; 2008-<?php echo date('Y'); ?> YOUR NAME HERE</p>