Template Files In Child Theme Not Found
-
Hi
I’m using the plugin with a Child-Theme and want to override the Template-Files. So I copied the plugin-folder “templates” to the Child-Theme and renamed it to “somfrp-templates”. But this is not working!
The Plugin does not load the template files in the Child-Theme cause it is only looking for files in the (Main-Theme).
You can fix this easily by chaning one line in one file.
“includes/somfrp-functions.php”
Line 560
Search:
$theme_path = get_template_directory();
Replace:
$theme_path = get_stylesheet_directory();
Please fix this in the next release!
Thanks and bye – Peter
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Template Files In Child Theme Not Found’ is closed to new replies.