Morning,
I'm trying to use this line of code in a page however WordPress wont render it.
<?php include("/includes/newsHome.php"); ?>
Any advice?
Thanks
Morning,
I'm trying to use this line of code in a page however WordPress wont render it.
<?php include("/includes/newsHome.php"); ?>
Any advice?
Thanks
You are putting that in a Page Template or do you have a php code plugin that allows you to put code in a page's content?
Your includes begins with a / which may not be corret.
Also note usage for :
<?php include(TEMPLATEPATH."/functions..php"); ?>Use "include it" plugin.
Just remembered--some php code plugins may not allow an include...
This topic has been closed to new replies.