• Resolved MonkeeWork

    (@monkeework)


    I’m currently studying wordpress through the Lynda.com video series which often uses the Simone theme. I’ve been trying to implement a child theme of the Simone theme on my local WordPress install and I’ve been experiencing wildly inconsistent results. I’ve attempted to do this four to five times now, and typically what happens when i select the simone-childs theme, the 2016 theme loads when i check the live preview. If i try to check the simone-childs theme through the customizer, it just goes into an infinite loop from what i can tell (after a few minutes i do give up, it seems like it’s caught in a death loop).

    Does anyone have an idea why my theme isn’t showing up to activate?

    Here is the directory layout:

    ./wordpress/wp-content/themes/simone
    ./wordpress/wp-content/themes/simone-childs

    Here is the current style.css file under simone-childs:

    /*
    Theme Name: Simone Childs
    Theme URI: https://monkeework.com
    Description: My first child theme, based on Simone
    Author: Monkeework
    Author URI: https://monkeework.com
    Template: simone-childs
    Version: 1.0.0
    Text Domain: simone-childs
    */

    @import url(“../simone/style.css”);

Viewing 3 replies - 1 through 3 (of 3 total)
  • The template line is wrong. Template should points to the directory name of the parent theme, which is simone in this case.

    In your child theme’s style.css, change

    Template: simone-childs
    to
    Template: simone

    .

    Also, that @import way to create child theme is outdated and bad. It doesn’t allow the browsers to load all the stylesheets at once, but one at time, causing the site to load slower.

    Nowadays, wp_enqueue_style() should be the go-to-choice if you wish to create child themes.

    Thread Starter MonkeeWork

    (@monkeework)

    Ahhhh.. Thank you for pointing out my error. Can you point me at a good wp_enqueque tutorial which is newb friendly? I was working from info on wpbeginner for trying to figure out how to do the child theme.

    thank you very much

    Thread Starter MonkeeWork

    (@monkeework)

    Thank you got it resolved

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Can't Get Child Theme To Load – WP defaults to 2016 Theme’ is closed to new replies.