Making a child theme
-
Hi
I’m trying to make a child theme, but struggling with the functions part of it. In the wordpress codex it says to make a functions.php file and incude;
<?php add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' ); function theme_enqueue_styles() { wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' ); } ?>
However, it says if there is an ie.css as well as a style.css, this wont work, so what do I have to do differently please?
Thanks
Sally
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Making a child theme’ is closed to new replies.