Did you update your Blog’s footer copyright notice with the new year? Here is 2 simple ways to let your footer auto-update itself with the new year :).
If you’re running Wordpress like me, then all you need to:
* Open the footer.php in your theme folder
* Paste “<?php echo date(“Y”); ?>” instead of the copyright year
* Save the file
And if you like JavaScript more than PHP then you could prefer and use the JavaScript version of the script.
Here is the script:
<script language=”JavaScript”>
<!–
document.write(‘©’ );
document.write(new Date().getFullYear());
document.write(‘ YourSiteName.com – All Rights Reserved.’);
//–>
</script>
Indeed a simple thing helps save lot of time… BUT make sure the date on the server is correct otherwise it’s going to be wonky :)
