WordPress CMS modifications

Making WordPress more like a CMS everyday!





Inserting an auto-updaing copyright year

| First Created: 16 April, 2009
Posted In: Template Development | Written by: Jonny

Most people want a copyright statement at the bottom of their website, and this usually includes the year. It makes sense to create this dynamically, rather than have to update it each year!

This is something I had to do the other day, and I pretty much put it on every WordPress theme I design.

Simply insert this code where you want the copyright notice to appear:

<p>Content is copyright &copy; 2008-<?php echo date('Y'); ?> YOUR NAME HERE</p>


Write a comment