How to Automatically Update my WordPress Footer Copyright with PHP

The New Year is coming, There are always some simple task that we missed to do. Some time simple things can be missed for years. One good example is your site copyright date.I noticed while now is 2012 but my site footer date still displayed 20011 and this may remain for 2012 or even 2013. You know not only URi. you also can code! let see how to fix this forever.

by using following simple PHP code, your Copyright date will change every year. Add this code once to your WordPress footer and enjoy rest of your life:)

Make sure to edit $from and set it to the year that your site was launched. Final year is automatically calculated using PHP’s date() function. but it you just created your site. It will display one date.

Here is an Example: