This is a really silly little trick – but if you have a PHP page that has a © copyright year at the bottom – there is no reason you should be updating that every year (unless it's just something you overlooked initially)
As you get requests from clients now that we're in a new year to change the copyright year in the footer – do yourself a favor and use this instead so you never have to do it again.
<?php echo date("Y"); ?>
Related posts:
- Striping IMG tags from the_content in WordPress (and how to fudge page excerpts) Background: For a site I was working on, I was...
- Showing multiple random quotes Showing random quotes isn't anything new. When I needed to...
Related posts brought to you by Yet Another Related Posts Plugin.
scriptygoddess
