Child Theme Post Templates
-
I’m having an issue using single post templates within a child theme. I’ve added the proper code to my child theme’s functions.php file (add_filter(‘single_template’…) and have the proper single-XX.php files created but they’re not being found/used.
I’ve done some reading and it appears as though the solution used thus far to resolve this is to place any post templates within the parent theme. I’m wondering if there’s a better solution? Is there a way to modify the single-template filter to look within the child theme’s directory, perhaps by replacing “TEMPLATEPATH” with something else? I’ve tried a few modifications (such as hardcoding the path to the child theme directory) but nothing’s working.
Any help is appreciated, thanks….. Paul
- The topic ‘Child Theme Post Templates’ is closed to new replies.