child theme not taken in account after updating parent
-
Hi,
I’ve done my website with vantage 1.4.2. then I wanted to update to vantage 1.4.4, so I created a child theme, copied my personalised files like style.css, template-tags, footer, archive… under the child theme.
Then I’ve updated vantage theme, but on my website only the modified ‘archives.php’ has been taken in account….For my child theme I’ve created the following functions.php file:
<?php
add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ );
function theme_enqueue_styles() {
wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’ );
wp_enqueue_style( ‘child-style’, get_stylesheet_uri(), array( ‘parent-style’ ) );
}
Any idea?
- The topic ‘child theme not taken in account after updating parent’ is closed to new replies.