Can’t edit storefront-template-functions.php in child theme
-
Hi there,
Hopefully this is an easy one, but either way I haven’t been able to work it out as I am pretty new to WordPress.
I have installed this storefront child theme https://github.com/stuartduff/storefront-child-theme, which works just fine. I can copy in files from the parent theme such as single.php and content-single.php, and any edits I make to these files work effectively.
The problem is that I would now like to edit ‘inc/storefront-template-functions.php’, however when I copy this file into my child theme, any edits I make to this file don’t take affect. I have tried copying storefront-template-functions.php into both:
storefront-child/
and
storefront-child/inc/
Both nothing I try seems to work.
Please help me fix this.
PS. I read that I need to use get_stylesheet_directory();, however, I’m not sure where I add/edit this…
Many thanks,
Greg
The topic ‘Can’t edit storefront-template-functions.php in child theme’ is closed to new replies.
