How do I check for child theme files first using include, before going to parent theme?

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.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)