Child theme issues
-
Hi there. I’ve been attempting to use a child theme of esteem by using the following code in my functions.php file:
`
<?php
add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ );
function theme_enqueue_styles() {
wp_enqueue_style( ‘esteem_style’, get_template_directory_uri() . ‘/style.css’ , array() );
wp_enqueue_style( ‘esteem-responsive’, get_template_directory_uri() . ‘/responsive.css’ );
wp_enqueue_style( ‘esteem-fontawesome’, get_template_directory_uri() .’/fontawesome/css/font-awesome.css’, array(), ‘3.2.1’ );
wp_enqueue_style( ‘esteem_admin_style’, get_template_directory_uri() . ‘/admin.css’ );
wp_enqueue_style( ‘cc-style’, get_stylesheet_directory_uri() . ‘/style.css’, array( ‘esteem_style’ )
);
}remove_action(‘wp_head’, ‘esteem_custom_css’);
?>
`My child’s style isn’t showing up at all when the site is generated. I know that I can use the custom css box under theme options, but I’d rather have all my code in the normal place.
The topic ‘Child theme issues’ is closed to new replies.
