creating child theme-where to look for problems?

I have followed the wordpress codex and still getiing the common error-“The parent theme is missing”,where else can the problem be,beside checking again and again capital letters ,
the directories are :gadgdeoo and gadgdeoo-child:

    /*
    Theme Name: Gadgdeoo Child
    Template: gadgdeoo
    Version: 1.0
    */
    @import url("../gadgdeoo/style.css");

also I have tried this in functions.php in child theme

      <?php
     add_action( 'wp_enqueue_scripts', 'enqueue_parent_theme_style' );
     function enqueue_parent_theme_style() {
     wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' );
       }

it seems that with some templates one can make instantly child theme and some not. so I am trying to understand if there is somthing in the code of these problematic themes ?

Read more here: creating child theme-where to look for problems?

Leave a Reply

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