Home>Support>Create Child Theme from existing modified theme

Create Child Theme from existing modified theme

By Andrew, 9 years ago. Last reply by Andrew Misplon, 9 years ago.

Hi

I am working on a new site (still ongoing) and I have a heavily modified Vantage theme.

I have just found out that any updates that Vantage apply to the theme will wipe out my changes to the CSS, style, header, footer etc. I have been advised that I should have originally created a child and have been editing that instead. But it is too late now, I have made a lot of changes everywhere.

Is there any way to convert the current theme into a child without corrupting or losing my customizations please?

Thanks
Andrew

URL: http://www.romanticguitaragency.com/wpp/

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 9 years, 7 months ago Andrew Misplon
    Hi, I Work Here

    Hi Andrew

    All is not lost thanks to diff. There are some epic premium apps out there but DiffMerge is pretty decent for free:

    https://sourcegear.com/diffmerge/

    DiffMerge just can’t compare entire folders, just files.

    Here is vanilla child theme you can start with:

    https://siteorigin.com/wp-content/uploads/2015/01/vantage-child-vanilla-enqueue.zip

    Then go to our theme page here: https://wordpress.org/themes/vantage/developers/

    Download the version you have, compare the files you’ve edited with the originals using DiffMerge and copy the edited files over into the child theme.

    In the case of CSS, only the edited selectors must go in the child theme’s CSS file, not the whole thing.

    For more on child themes: https://codex.wordpress.org/Child_Themes

  2. 9 years, 7 months ago Andrew

    i will give it a go, thank you!

  3. 9 years, 7 months ago Andrew Misplon
    Hi, I Work Here

    For sure :)

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More