External PHP include kills wp includes
-
On my sidebar page, I wanted to include an external php page. So with the standard include, I got it to work, no problem.
<?php include (“random.php”); ?>
The problem though, is that it totally kills any remaining wp includes in the page. Seems as though the wp include tries to look at the DB tables from the external include and comes up with all sorts of “Table doesn’t exist” errors.
<?php wp_list_pages(‘title_li=’); ?>I took a look at plugins such as RunPHP, and PHP_exec, but they really don’t address what I’m experiencing, at least from what I can see. I tried searching but couldn’t find anything like what’s going on with my script.
Thanks
Dave
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
- The topic ‘External PHP include kills wp includes’ is closed to new replies.