I am developing a child theme based on storefront as parent theme. I am trying to include files in child theme functions.php
file as:
require_once get_stylesheet_directory() . '/inc/_customizer.php';
require_once get_stylesheet_directory() . '/inc/_header.php';
When I move any function from functions.php
file to _header.php
or _cuztomizer.php
files which are in the inc
folder in the child theme it does't works but either in functions.php
file it works very well. I don't know what I am doing wrong and how I can include files in function.php
file.
Please help me. Thank you in advance