Tagged: 

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #532707

    For some reason I’m not able to get my child theme to work properly. I suspect I’m not using the right code in either the style.css or functions.php; I couldn’t find a single source of the best code to use so I’m not sure I have it right!

    I used this tutorial http://kriesi.at/documentation/enfold/portfolio-item/create-a-child-theme/ and also the WordPress codex tutorial here https://codex.wordpress.org/Child_Themes

    Are you able to give me the right code to use to create a child theme? I have added below in private content the code I’m using. The theme is showing up in Appearance on my WordPress dashboard as a ‘broken theme’ with a message that the ‘stylesheet is missing’.

    I’m ok to upload via FTP.

    #532776

    Hey Catty47!

    Your missing the “template” meta in the comments.

    You don’t have to mess with any of that though. See here to download our existing Enfold child theme, http://kriesi.at/documentation/enfold/downloads/.

    Cheers!
    Elliott

    #532825

    Ok, great, thank you. So I can just transfer this whole folder across via FTP into the themes folder of my website, yes?

    #532829

    Sorry, quick check – I have added some template debugging code to my child theme functions.php.

    Is the code below in private content correct? I have simply added the code after all other text in the functions.php file.

    #533045

    Hi!

    Yes, it is correct.

    //set builder mode to debug
    add_action('avia_builder_mode', 'builder_set_debug', 10);
    function builder_set_debug() {
    return 'debug';
    }

    Regards,
    Ismael

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.