
With the changing of each new year, it will trigger a manual edit to update/change the Copyright year for most blog owners. The Copyright information, is usually shown in the following format, "Copyright 2008 - 2010" and located in the footer of your blog.
For many of us, this is something that we can fix very easy. To make the Copyright date change automatically on your WordPress blog, you will need to add the following snippet in your footer where the Copyright date is located.
Snippet:
Copyright © 200x - <?php echo date('Y'); ?> domain-name.com.
You will need to replace the "200x" with your Copyright starting date and the "domain-name.com" with your actual Domain name. It's that simple, and you can say goodbye to those yearly manual edits of your footer.php file.
However, if you are into search engine optimization - "SEO," you'll want to include your main keyword and/or phrase in the footer. The following snippet example is what I use currently on Spunky Jones, for added SEO.
Snippet:
Copyright © 2008 - <?php echo date('Y'); ?> <a href="<?php bloginfo('url'); ?>/"><strong>Blogs Name</strong></a> - <u><strong>Main Keyword or Phrase</strong></u><br/>
Example for, search engine optimization:
![]()
Additional Information: Depending on the WordPress theme that you are using, the snippet may need to be modified to fix your needs.
Hope this blog post was helpful to you, “How to change the Copyright year in your blog's footer automatically“
Spunky Jones.
No Related Posts: