Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End WordPress problem with include(TEMPLATEPATH . ‘/inc/nav.php’) Re: WordPress problem with include(TEMPLATEPATH . ‘/inc/nav.php’)

#72276
Rob MacKay
Participant

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