WordPress doesn’t include css

I want load a custom css in the index.php, this is my code

if(! function_exists('basictheme_styles_scripts')) {
function basictheme_styles_scripts() {
wp_enqueue_style('basictheme-opensans', '//fonts.googleapis.com/css?family=Open+Sans');
wp_enqueue_style('basictheme', get_template_directory_uri().'/style.css');


but perhaps something is wrong, beacause my index doesn’t load it

Read more here: WordPress doesn’t include css

Leave a Reply

Your email address will not be published. Required fields are marked *