This is essentially what locate_template()
does.
Searches in the STYLESHEETPATH (child) before TEMPLATEPATH (parent) and
wp-includes/theme-compat
so that themes which inherit from a parent theme can just overload one file.
This is essentially what locate_template()
does.
Searches in the STYLESHEETPATH (child) before TEMPLATEPATH (parent) and
wp-includes/theme-compat
so that themes which inherit from a parent theme can just overload one file.