Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Help with Child Theme

The constant TEMPLATEPATH is a reference to the absolute path to the template directory for the current Theme. I don’t know how it behaves with parent / child themes but it sounds like, from your experimenting, that it points to the parent. Which makes sense. The parent theme IS the theme as far as the system is concerned. The child is just along for the ride. It’s just hooked to the parent via the style.css file.

The syntax you have above is correct.

<? include TEMPLATEPATH.'/directories/members/featured.php'; ?>

And there are no parameters for TEMPLATEPATH. It’s just a constant. Anyway, if stylesheet_directory works… may as well just go with that.

Skip to toolbar