I've modified my overall header to include outside files, such as calendar displays, etc. I'v done this via functions.php, adding a new template variable, like this:
Code: Select all
$output11 = file_get_contents('../shtml/footmenu.shtml');
However, I'm in the middle of some heavy testing on my local dev server, and I want to work with relative paths again. Instead of changing back and forth, is there a better solution to this?
It's not a world ender, but it is a bit niggling, and I hate loose ends...LOL
Anyone else with the same nagging problem?