Tagged: changes, child theme, not showing
Hello,
I installed the child-theme with this tutorial: https://kriesi.at/documentation/enfold/child-theme/ and activated it.
Than I created the same folder structure like in the “original” theme folder and changed the .php in this case f.e. postslider.php and magazine.php (both in the right folder).
I changed the js & css performance settings to deactivated and deleted the cache a couple of times. But the changes are still not appear.
I think enfold did not “get” my new documents.
Could anybody help me please?
Hi design-goerlich,
I checked on the structured and the required codes and it’s all good.
I modified magazine.php in the child theme, I just added this class in it:
custom-magazine
And it does add to the magazine class attribute when I inspected the element.
The only thing I see is that there’s nothing showing in it visually because there’s no posts yet.
Best regards,
Nikko
Hi Nikko,
Thanks for your reply.
In the meantime, I have received the following suggestions in an FB Enfold group:
1. I made everything right. But I didn´t “connected” the Child Theme with the Original Theme.
This code fixed it in the Child Theme functions.php:
add_filter(‘avia_load_shortcodes’, ‘avia_include_shortcode_template’, 15, 1);
function avia_include_shortcode_template($paths)
{
$template_url = get_stylesheet_directory();
array_unshift($paths, $template_url.’/shortcodes/’);
return $paths;
}
So I consider this case as closed.
Hi,
I’m glad this was resolved. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon