Child theme not overwrite files in folders
-
I’ve activate my child theme and it reads the file in the core folder, such as style.css and footer.php, but when it comes to the files in other folders such as “inc” it dosen’t read them. I can not understand why.
Here’s my functions.php code
<?php if ( ! function_exists( 'neobeat_child_theme_enqueue_scripts' ) ) { /** * Function that enqueue theme's child style */ function neobeat_child_theme_enqueue_scripts() { $main_style = 'neobeat-main'; wp_enqueue_style( 'neobeat-child-style', get_stylesheet_directory_uri() . '/style.css', array( $main_style ) ); } add_action( 'wp_enqueue_scripts', 'neobeat_child_theme_enqueue_scripts' ); }
I tried to copy all the files from the parent theme, but that didn’t help me either.
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Child theme not overwrite files in folders’ is closed to new replies.