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’)

#72386
TheDoc
Member

I’ve never used TEMPLATEPATH before, so I can’t comment on that. Is that a strictly PHP thing? Never seen it with WordPress before.

If you’re looking for a way to get to you theme files (wp-content/themes/your-theme/) then use:

bloginfo(‘template_url’);