Template file and child themes
-
Very nice plugin, but for those of us using a child theme, adding the template file single-qa_faqs.php to the child theme directory does not work.
The reason for this is that the plugin is looking in the parent theme directory for the template file. This can be fixed by modifying the plugin file /q-and-a/inc/functions.php and replacing TEMPLATEPATH with get_stylesheet_directory() in lines 105-112.
Not ideal to have to modify plugin code as changes will be lost and need to be re-added upon upgrade, but in our case we lose pretty much all page/post formatting unless the template file is in the child directory.
It would be much appreciated if you would consider changing this in a future release.
- The topic ‘Template file and child themes’ is closed to new replies.