Blogging, SEO, web trends, google keywords and other geeky stuff.

How to Auto-update Your Copyright in WordPress

Posted: January 4th, 2010 | Author: Agitationist | Filed under: blogging, tools, wordpress | Tags: , , , , | 3 Comments »

(Republished from last year, because you need it.)


So it’s a new year…have you forgotten anything?

Here’s a hint:

Ever see a site with a copyright statement 6 months out of date? Even big-shot corporate blogs make this mistake. But on a young, growing blog, it looks particularly bad.

Or perhaps you don’t have a copyright statement at all? Tsk tsk.

Why don’t we automate this, so we’ll never, ever have to think about it again? Here’s how to do it in WordPress:

  1. Log in to WordPress, and go to Theme Editor.
  2. Choose “footer.php”.
  3. Delete your current copyright statement (if it exists), and insert the following code:&copy; 2008 – <?php echo date(Y); ?>…replacing “2008″ with the date you started your blog.
  4. If you wish, put your name adjacent to the copyright, being sure not to disturb the php date tag. See mine below for an example.
  5. Done.

Happy New Year! Anyone got a good detox recipe?

Bookmark and Share