Posted - 03/14/2021 : 09:33:26
The following code always auto updates the year in the footer for where the copyright shows. That code is usually placed in the foot of the .dwt file thus all pages are showing the same. © 2012 -<?php echo date("Y"); ?>
Recently I've been working on a new site and I'm making most of the page contents into content regions & it's working well. But when I place the footer stuff in a content region everything is spot-on apart from the auto copyright update, it does nothing only showing the © 2012 -.
This is also the same if I create a php include file for the footer - eg: footer.php. If I create a footer.txt include the code works fine.
Any ideas as to how, or if, this can be solved?
Steve Egerton Village, Bolton, UK
|