• Resolved mon33x

    (@mon33x)


    I got question about child themes in wordpress..so I installed plugin child theme configurator and it makes child theme..and in parent theme are all folders and in child only functions.php i style.php, so someone says that it has to be same files as in parent, so should I copy all from parent to child or?also while updateing my theme changes and it shouldn’t cuz iz have child theme activated

Viewing 8 replies - 1 through 8 (of 8 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    No that person is wrong. A Child Theme is meant to inherit from the parent theme.

    Updating the parent theme will just update the parent theme, it won’t touch your Child Theme.

    Thread Starter mon33x

    (@mon33x)

    So when it says to update, I activate parent theme and update and then get back to child theme?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    You can continue with your Child Theme being active and then press ‘update’ – considering your Child Theme is set up correctly.

    Thread Starter mon33x

    (@mon33x)

    then it changes my site, and it shouldnt change anything..I got only functions and css in it?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    It shouldn’t change anything on your Child Theme, however your Child Theme inherits the parent theme.

    Thread Starter mon33x

    (@mon33x)

    Maybe cuz it has to be all same files in child like parent and I in child have only functions.php i style.css? or plugin is not good?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Your Child Theme isn’t set up correctly, it should not have all of the same files as the parent theme.

    Please follow this tutorial on how to create a Child Theme correctly: https://codex.ww.wp.xz.cn/Child_Themes

    Thread Starter mon33x

    (@mon33x)

    ok thx 🙂 hopefully it gonna work

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Child theme question’ is closed to new replies.