I created a custom page template where I want to present some data specific for that page.
The file is placed in
In that file I want to include another php file from the parent directory. That file is placed in:
So in the file i write:
But I receive an error saying the file doesn't exists.
Warning: include(../Sorting.php) [function.include]: failed to open stream: No such file or directory
I'm not that much into wordpress so I theorized that it was something to do with the include function but it works fine if I put the files in the same folder though.