Ever notice how many websites and blogs have a copyright message at the bottom of the page that is still set to last year — or worse, several years ago?
Here’s a quick easy trick to make sure that never happens to you.
In the copyright field, instead of entering a date, like 2013, enter this piece of code:
<?php echo date(‘Y’); ?>
That nifty little PHP snippet will automatically put the current year in your copyright every time. And if you want to show how long you’ve been around, you can still use a date range by entering the year you first published your site, followed by the auto date code.
For example this is the code I use at the bottom of my site, and how it appears:
@ Copyright 2001 – 2013. All rights reserved. DigitalFamily.com
Now you just have to find the time to keep the rest of your website or blog up to date.
You’ll learn many more great WordPress tips in Janine’s new creativeLIVE course: Create Websites the Easy Way with WordPress
Great tip!
I noticed that you have an extra letter i in DigitalFamily.com in you copyright (and in the post) and wonder if it is intentional or maybe a typo?
Thanks Alessandra! I so appreciate it when people point out my typos. Everyone needs an editor. I believe I’ve fixed that one now, but please let me now if you find others. Thank you!