Time to update your copyright? Update it for forever

by Abdulla Heal Masud on December 31, 2009

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

Subscribe Now

If you enjoyed this article, you will definitely enjoy our others articles. Subscribe to the feed to get instantly updated for those awesome posts soon to come.

Leave a Comment

CommentLuv Enabled

Previous post:

Next post: