Using “require” function in header.php
-
Hi guys!
I’ve developed a navigation system, which I want to use within WordPress. The system itself is a class file. I’m using the “require” function to pull in the file and instantiating the class, then I’m calling the methods to build the navigation.
However, I can’t find the correct path for my folder “library” which is on the root.
I’ve tried everything I know but I can’t get at the root from within the “header.php” file.
Any ideas?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Using “require” function in header.php’ is closed to new replies.