Give help. Get help.
I have this line on another site that isn’t using wordpress and it works fine. I just need to know how to get this working in wordpress. This is going into the header area.
< ?php include_once('/php/news.php'); ?>
Where is your `news.php` file located in your theme?
In fact it does when dealing with wordpress…
You can not simply call it relatively, you need to call it absolutely using the WordPress constant “TEMPLATEPATH” like this:
< ?php include _once(TEMPLATEPATH . '/php/news.php'); ?>
You must be logged in to reply to this topic.