PHP Include
-
Hello —
WordPress and php newbie. I need general instructions on including non-Wordpress php files in a WordPress page. Specifically I am trying to include the month view from Webcalendar in a WordPress page. I do not want to do this with an Iframe.
I have created a template where I have hardcoded an include pointing at ‘portable-month.php’ which is the Webcalendar month.php file with the html head and tail pulled out. The idea is to wrap the WordPress theme around the Webcalendar month view.
The parser seems to be choking on the include because of path and config issues. I have tried several different paths, all to no avail.
My calendar and wordpress directories are peer directories just under the root. How do I go about making them talk to each other?
- The topic ‘PHP Include’ is closed to new replies.