web

Automatically update the copyright information of your wordpress site

add copyright warning automatically
Written by Tariqul42

I see many bloggers and website owners forget to update the copyright information of their blog/website. Though they need to change it once a year but they can’t change it as long as a visitor notice them. Having a copyright notice with correct information is very important and it also ensures that your website is updated. When a blogger update his copyright information, he simply goes to editor>footer.php>find out 2011 and changes it to 2012. But here is an option to update your copyright information automatically every year. Just find out the part with copyright notice and replace it with following code.

Instead of 2012 use <?php echo date(‘Y’); ?>. It will automatically show the year and &copy; creates a copyright © logo. Some people do copyright from the year their blog started. The code they use something like bellow.

note: it will work only in wordpress or in php supported site.

About the author

Tariqul42

4 Comments

  • Excellent post however , I was wondering if you could write a litte more on this subject?

    I’d be very thankful if you could elaborate a little bit further. Kudos!

  • An outstanding share! I’ve just forwarded this onto a coworker who has been doing a little homework on this. And he in fact bought me breakfast simply because I stumbled upon it for him… lol. So let me reword this…. Thank YOU for the meal!! But yeah, thanks for spending the time to discuss this topic here on your site.

  • I’ve been exploring for a bit for any high-quality articles or weblog posts on this kind of area .
    Exploring in Yahoo I ultimately stumbled upon this site.

    Reading this information So i am happy to exhibit that I have a very excellent
    uncanny feeling I found out just what I needed.
    I most unquestionably will make certain to don?t omit this website and
    provides it a look regularly.

Leave a Comment