I'm using the below code to call content into my websites' layout:
<?php @ require_once ("$pagename.php"); ?>
At the moment, I believe it will only search for files in the same folder as my main template which is fine.
The thing is though, is that I want to put all the news files in a folder called 'news'. Is there a way that this code can be edited so it can not only search for and include files in the same folder but also news/ ?
Thank you very much and I hope to hear from you.
All the best,