I don't really know the answer. But can I make a suggestion? Why don't you try using an 'include' function.
I can't speak for anyone else, but I found that templates were a real hassle. And created more frustration than anything else.
If your header, footer and navbar are the same on every page then an 'include' function will give you similar results.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.