Wordpress is installed in a directory called 'blog' on my website and it uses a custom theme:
mysite.com/blog/wp-content/themes/mytheme/
I would like to alter the theme so that it calls the same header and footer as the rest of my site, which are in a folder off the root directory of my site called 'include':
mysite.com/include/header.php
Is this possible?
At the moment, my custom theme has a complete copy of the header and footer saved in it's local directory (along with the relevant CSS, JS etc.) but it is becoming a real pain having to maintain two identical copies.
These copies are referenced in the theme using ABSPATH, but this seems to have limited scope as the furthest back I have been able to get is to the /blog/ directory. If I replace ABSPATH with an absolute URL, I get an error about security.
Any help or advice would be greatly appreciated.
../
) - online Thomas