Time to update your copyright? Update it for forever

by Abdulla Heal Masud

2010 is now knocking the door. Now everybody should update his copyright notice including without ahmasud. Because i have super PHP function in it.

Today i will tell about this awesome PHP function about auto update your copyright.

Thesis Theme users:

Thesis theme users open your custom>custom_function.php and add this code

function copyright(){
	echo '<p>Copyright ';
	echo get_bloginfo();
	echo ' &copy ';
	echo date("Y");
	echo '</p>';
}
add_action('thesis_hook_footer', 'copyright', '99');

Other Theme users:

If you are using other theme add this code on footer.php

<p>Copyright <?php echo get_bloginfo(); ?> © <?php echo date(“Y”); ?></p>

Last Word:

So that’s it. Enjoy New year. and Happy New Year from A H Masud INC

Similar Articles

Stay in the Loop!

Did you love this post? If you did, there's more to come (and plenty to catch up on) with a variety of ways to stay up to date:

Leave a Comment

Previous post:

Next post: