WordPress.org

Ready to get started?Download WordPress

Forums

Clarification on Child Themes (7 posts)

  1. sarahb86
    Member
    Posted 3 months ago #

    So I've finished building my website from scratch and now that it's up and published I want to make sure I don't mess anything up moving forward (I'm new to this). I understand I *should* create a child theme but I'm still unclear on why and how.

    If I follow the steps to create a child theme, does it, essentially, make a copy of my site as it exists in its finished form or does it make a *blank* site and I have to start from the beginning again?

  2. mrtom414
    Member
    Posted 3 months ago #

    It will copy everything from your original theme unless you overwrite it.

    There are 2 reason you need to use a child theme.

    First If the author updates the original theme you lose all of your changes.

    Second if you mess up the child theme you can just delete the file you screwed up and start over again without doing any damage.

  3. sarahb86
    Member
    Posted 3 months ago #

    Ok, so just to be super-duper clear: it will copy my site as it exists NOW with all of my personalization, and not as the theme's original template, i.e. without all of the changes?

  4. mrtom414
    Member
    Posted 3 months ago #

    It will copy the theme but any changes you added to the theme like the header image. You will need to add back into your child theme. The style sheets and the support files will be copied.

  5. sarahb86
    Member
    Posted 3 months ago #

    Ok. I guess.

    So I create a child theme alter it to match what is published then it ostensibly becomes a notepad to make changes to and then "apply" those changes to the published site?

  6. mrtom414
    Member
    Posted 3 months ago #

    Yes make all your changes to your child theme. Never change the parent theme.

  7. alchymyth
    Forum Moderator
    Posted 3 months ago #

    building my website from scratch

    did you build your own theme for that?

    if you haven't based your site on a regularly maintained and updated theme (like the themes from https://wordpress.org/themes/), but built your own theme, then there is no need for a child theme.

Reply

You must log in to post.

About this Topic