HowTo – Auto Update Copyright Notice

Making sure that your blog has updated copyright notice is very important from a branding and professionalism level, however many people consider it a minor issue.

For most bloggers it’s a simple task to FTP into the blog and edit its footer. But the problem is many bloggers forget about it because it’s done only once per year.

Today, i’ll teach you guys how to make it update automatically. How? it’s simple:

All you have to do is FTP into your blog and open the footer.php file. Find the part with the copyright notice and replace it with the following.

Copyright &copy; <?php echo date(’Y’); ?> Blog Name

or

Copyright &copy; 1990 – <?php echo date(’Y’); ?>  Blog Name

or for wordpress bloggers, you can download this plugin below:

Auto Copyright

Instead of hard coding 2009 into the copyright notice, you replace it with <?php echo date(’Y’); ?>, which will automatically fetch the year from your server. If your server does not give you the right year then you’ll have to contact your web host admin and have him adjust the date.

Now, instead of trying to remember to update the copyright notice at the start of every year, the blog will do it automatically.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: