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
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
i will give it a go, thank you!
For sure :)