include from wordpress parent
-
Hey Community,
I have a question about includes. If I had WordPress in a directory as such:
/root/wordpress/wp-content/templates/my_template/index.php
would it be possible to use an include that picks up from the root. for example:
<?php include('../../../../products/item_1.php'); ?>
Any ideas on how I might be able to do something like this? I’m actually trying to use bbPress and WordPress to pull from the same directory for advertising products, and I think I need some brain storming here.
Any suggestions would be greatly appreciated.
All the Best,
Orion
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘include from wordpress parent’ is closed to new replies.