• Hi Guys,
    I have created a child theme css and php file. Neither of the files have any code yet, though all me previous customisation (through the inbuilt css option through the theme – Customify) seems to have stopped working.

    This is the code I sued for the child theme..

    function customifychild_enqueue_styles() {
    $parent_style = ‘parent-style’;

    wp_enqueue_style( $parent_style, get_template_directory_uri() . ‘/style.css’ );
    wp_enqueue_style( ‘customfiychild’,
    get_stylesheet_directory_uri() . ‘/style.css’,
    array( $parent_style )
    );
    }
    add_action( ‘wp_enqueue_scripts’, ‘customify_enqueue_styles’ );

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Child theme’ is closed to new replies.