Support » Themes and Templates » Automatic copyright year in footer
5 years, 7 months ago
I am working on a footer, and the text format of the footer is:
‘© 2011 GBS. All Rights Reserved.’
What I want, is to ‘pull’ the 2011/YEAR from wordpress, so that the copyright year always equals the current year.
I assume I would place the code in footer.php – but I don’t know what the code would look like.
Replace 2011 with:
<?php echo date('Y'); ?>
And yes, this would go in your theme’s footer.php file.
Thank you sooooo much – that worked perfectly!!!
Theme Review Admin, The JellyBeen Man
@iyamdman – If you really want to dress up your copyright statement this article might interest you: http://wpfirstaid.com/2011/06/dynamic-copyright-revisited/
Hi Ed – thanx, really good article!!