Reputation: 2224
I have a directory /examples/
that is at the root of my site. I want to retain this hierarchy:
/examples/foo1/
/examples/foo2/ ...etc
I also have wordpress installed at the root with my posts shown on the home page. I found out the long way that I cant access any wordpress functions or anything wordpress related from within the /examples/
directory or any folders within examples directory.
I know I can make a page within wordpress called examples and make sub pages under examples to get the desired directory, but I dont want to end up with 300 subpages of example content. Thats like treating the page section as a post section.
Is there a way I can access wordpress variables and functions from the /examples/
directory that I made? Or is there another method that I have not thought of to get this directory and still have access to wordpress stuff?
I hope this is clear.. thanks!
Upvotes: 0
Views: 73
Reputation: 1904
This is similar to a question previously answered. Refer to the instructions for displaying WP content in the same domain:
Upvotes: 1