Home › Forums › Back End › WordPress problem with include(TEMPLATEPATH . ‘/inc/nav.php’) › Re: WordPress problem with include(TEMPLATEPATH . ‘/inc/nav.php’)
November 25, 2010 at 6:13 am #72276
TEMPLATEPATH in that sense is a constant that has been defined.
You use them like this:
define('TEMPLATEPATH', 'Whatever you want');
I have no idea without looking properly into it – my first idea is your query needs something else in it to tell it that you are moving forwards… I know WP does this nicely for you most of the time but something is tickling the back of my mind… lol