Yearly Copyright Update for Textpattern Sites

Following on from Smashing Magazine’s article entitled Don’t forget the small stuff this year inspired The Web Squeeze to add a little PHP to update his copyright date every year automatically with this code:

<?php  echo date('Y'); ?>

This in turn inspired me to hit Google to see how I could implement the same in TXP since it’s my CMS of choice found this little code snippet from Sonspring.

<txp:php>echo date('Y');</txp:php>

Nothing new but ‘tis a touch helpful.


Sonspring: Copyright Tip The Web Squeeze: Quick PHP Tip