I’m working on migrating a theme designed by someone else from 2.6 to 2.8. It looks like the theme is held together by bits of string and I am trying to figure out what is going on with it. I have these calls in the index.php:
<?php include(TEMPLATE.’nav.php’); ?>
Is this correct or has it been deprecated? It seems like it should be this:
<?php include(TEMPLATEPATH.’/nav.php’); ?>
Or does TEMPLATE point somewhere else or define a template. Part of the problem is that I cannot find a file called nav.php which is making me think that the file itself didn’t make it over in the transition or is this somehow defining an internal template style?
- The topic ‘TEMPLATE and TEMPLATEPATH’ is closed to new replies.