Hire us to design your site.

Auto update copyright date !

I had figure out how to auto update the copyright date in footer on my site.

if you have a commercial license you can change this code !

Q: why we need it ? A: you don´t need to edit your footer every year ;)

Example: Say you have this on your footer.tpl:

Copyright © 2007 – 2010 yoursite.com, All Rights Reserved

but now it is 2011 and you will auto update it every year !

Insert and replace you old copyright code with this one:

Copyright &copy; yoursite.com 2007-<?php echo date(Y) ?> All Rights Reserved.

if you done right you should now see this copyright text !

Copyright © 2007 – 2011 yoursite.com, All Rights Reserved.

Every year it will auto update the new year. Hope it can help someone.

and change 2007 to the year you start you dating site :)

About the Author: gugu

Hey ... I´m the owner of this site ;) If you need help customize your vldpersonals site. Please ask me and I will try to help you. Enjoy reading !

13 Comments + Add Comment

  • I’ve written a short snippet which is an improvement over this, as it supports date ranges, so all you enter is the start date, and then it will display it as just that year, or that year to the current one if applicable

    • I think mine is easier and perform the same function ;)

  • I have learn several good stuff here. Definitely price bookmarking
    for revisiting. I surprise how much attempt you
    place to create this kind of great informative website.

    • thanks …

  • Hello there, credit must go for an extremely informative weblog,
    I do not generally , post remarks but really liked your post therefore
    decided say thanks ! > Jasmine

    • you are welcome … glad you like it …

  • Greetings from Florida! I’m bored at work so I decided to check out your site on my iphone during lunch break. I really like the info you provide here and can’t wait to take a look when I get home.
    I’m surprised at how quick your blog loaded on my cell phone .. I’m not even using WIFI, just 3G .
    . Anyhow, excellent blog!

    • Thanks ….

  • Hello there! This post couldn’t be written any better! Reading through this post reminds me of my previous room mate! He always kept talking about this. I will forward this post to him. Fairly certain he will have a good read. Thanks for sharing!

  • I am surе thiѕ parаgraph haѕ touched all the intегnet vieωers, its
    reallу reаlly good аrticle on buіlding uр new web

  • I like іt whenever peoplе come togethеr and ѕhare
    vіеωs. Great blog, stick with it!

  • Wow that was odd. Ӏ juѕt ωrote аn vеry long comment but aftеr I clіcked ѕubmit my comment dіdn’t appear. Grrrr… well I’m not writing all that
    oveг agaіn. Anyωays, juѕt wantеd to say ѕuperb blog!

    • Thanks … we must activate comments manually ;)