Copyright Calendar

Never Update Your Copyright Dates Again!

by Ben Cook on December 28, 2009

Family time, year end reports, budgeting for next year, planning for next year, returning gifts… while this may be the “most wonderful time of the year” it’s often the busiest as well.

Naturally tasks on the lower end of the priority spectrum, such as updating the copyright date on your website, tend to drop off our radar.

Thankfully, with a small snippet of code, you won’t ever have to worry about updating the copyright date again!

If you’re using the Thesis theme, you can drop the following block of code into your custom_functions.php file:

function copyright(){
	echo '<p>Copyright ';
	echo get_bloginfo();
	echo ' &copy ';
	echo date("Y");
	echo '</p>';
add_action('thesis_hook_footer', 'copyright', '99');

If you’re using a different theme, you’ll need to find your footer.php file and drop this code where you want the copyright info displayed:

<p>Copyright <?php echo get_bloginfo(); ?> © <?php echo date(“Y”); ?></p>

Once the code is in place, the copyright notice will automatically update to the current year and will be one less thing on your year end to-do list.

image source: counting chest bullets

{ 3 comments… read them below or add one }

Biggie January 5, 2010 at 5:26 pm

Lol, your footer date is wrong. The irony was too much to pass up, sorry Ben!

Ben Cook January 5, 2010 at 5:37 pm

Lol you’re right. I reverted versions of the site (having some server issues) and it looks like that didn’t make the cut. I need to take my own advice!

Mark V February 2, 2010 at 9:09 pm

Thanks for posting this. I found it very useful and it worked perfectly. Kudos!

Previous post:

Next post: