Parent theme/Child theme
Hi.
I want to update my theme to the latest Betheme without losing any of the current customisations on the theme.
I read about creating a child theme to preserve all customisations against current and future updates but not exactly sure how to do that.
Also I downloaded the Beyond Compare 4 to synchronize the two files but didn't quite get how to do that - should old be updated into new or new be updated into old.
I need help to carry out the theme update seamlessly. I am not a delveoper. Also is there any need to work on the SEO and Speed Optimisations or the Betheme already has these embedded in the new update?. On Google PageSpeed different attributes are highlighted to be fixed to improve website loading Speed.
Thank you for prompt response
JJ
Comments
the child theme can be installed exactly the same way as parent theme. More details about this you can read on https://codex.wordpress.org/Child_Themes
You will not lose any data, because all of the data is stored in the database and the child theme uses the same database as the parent theme. You would have to only set up the sidebars again as the widgets will reset in the child theme.
I have seen manuals to child themes of other themes, where the file functions.php should also declare usages of the parent styles such as this:
How do I reference the parent style correctly in functions.php?
Thank you and cheers,
Sascha
The actual problem was not the content of functions.php, but its encoding.