Many footers on websites contain text like “© 2009 Your Website”. A good measure, surely. We can use some classic PHP and a built-in WordPress function to make this bit of text dynamic so that it will never need to be tampered with manually again. Here is the code to add to your theme template file (e.g.,
<p> © <?php echo date("Y"); echo " "; echo bloginfo('name'); ?> </p>
The year will always be the current year, based on your server’s set time. The text will come directly from the Blog Title setting in
Settings > General.