Child Theme Not Working! - by abbeylinks

This topic has 4 replies, 3 voices, and was last updated 8 years, 6 months ago ago by Stan Russell

  • Avatar: abbeylinks
    abbeylinks
    Participant
    October 16, 2015 at 00:50

    Hello,

    Quite a few users have asked you why you did not bundle a child theme with the Legenda theme; however, you have not provided a genuine answer?

    1) Can I ask you bluntly, why you have not bundled the Legenda theme with a child theme?

    2) I have set-up a custom child theme; and the installation was successful; however, the front-end is messed up. Can you take a look at it for me or better provide me with the correct zipped child theme I should be using?

    3) I will be making a lots of customization to my site, and I need to use a fully functioning child theme.

    Please advice? I have provided all the required info to access the site in the private content area.

    Thank you! I look forward to hearing from you.

    Please, contact administrator
    for this information.
    3 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    October 16, 2015 at 08:48

    Hello,

    1) We did’t include child theme files in the main theme archive because child theme can be created manually as described in WordPress documentation https://codex.wordpress.org/Child_Themes and it’s public information.

    2), 3) The problem was with incorrect code in the functions.php file of your child theme. You can find in provided link above that child functions.php should contain the following code to import parent styles into child theme:

    add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
    function theme_enqueue_styles() {
        wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
    
    }

    I’ve added it and activated your child theme. Please check it now.

    Best regards,
    Jack Richardson.

    Avatar: abbeylinks
    abbeylinks
    Participant
    October 16, 2015 at 09:33

    Hello Jack,

    Thanks for your response. I would suggest you bundle your themes with a child theme to save you the hassles of having to deal with this type of questions. This could have been one ticket you didn’t have to deal with and quite a few customers have raised the questions on your support forum.

    Thank you!

    Avatar: stan
    Stan Russell
    Participant
    October 16, 2015 at 09:54

    Hello abbeylinks,

    thank you for your reply. We will take it into account. Have a nice day!

    Regards,
    Stan Russell.

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.