I have a site where the client is adding reviews of talks. Between each one, I want to put an include to give some navigation.
https://www.marchamsociety.org.uk/reviews.php
I have read the Include documentation but am coming unstuck probably on this caveat - “You should never put server-side code inside a content region, especially includes. Put your content regions inside the include file instead.” as I don’t really understand what it is saying.
The reviews all site in one editable region (as the client is adding new reviews to the top each month) and the <?php include 'includes/reviewnav.ssi';?> sits between each one.
When the client updates, the parser replaces the include with the text it contains, so when I update reviewnav.ssi it isn’t included.
What am I doing wrong??!! The includes outside the editable region are fine.
Thanks for any advice.
PS please excuse the archaic nature of the design of the site, it is very old and I am working on them to change it!