Hello Inhouse,
I am trying to cheate a child theme for twentyfifteen which has 3 css files. I tried your way of enqueueing but am not able to generate my child theme. Could you please help me identify my errors
Here goes the functions.PHP of my- twentyfifteen-child
<?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( 'parent-mediaqueries', get_template_directory_uri() . '/mediaqueries.css', array(),'');
wp_enqueue_style( 'child-style',
get-stylesheet-directory-uri(). '/style.css',
array( 'parent-style' )
);
}