Site logo

Archived topic

How not to lose the settings after the update?

10 replies · Started by Vl on March 1, 2018

Viewing posts 1–11 of 11

1. I use the child theme, but after changing the design in "Customise" I do not see any changes in style.css in the child theme.
If the changes are made only in the parent theme, can I lose them after the update?

2. What is the better: to use the child theme and write the code into style.css and functions.php, or to use the parent theme and insert css and php code by plugins?

3. When using child theme, how can I make changes to header.php so that they are not lost after the update?

Thank you.

Let me ask you another question: will the code in hooks be lost after the update?

Hi,
1. No, the problem is not this, I have the correct child theme, because I downloaded it from your site.
My question is different. For example, I activated the child theme and changed fonts and colors. But after these changes, the style.css and function.php in child theme are still empty, that means that changes are written to the parent theme.
Question: Where these changes recording? At the parent theme? After the upgrade, they will not be overwritten?
Thank you.

Ahh I see.

The customizer settings are in the database. They will be saved through updates :)

That is, the child theme is only needed to add additional css and php.
If I add this code through the plugins, I will not need a child theme.
Thank you very much for the answer.

Yes exactly :)

If you do have lots of CSS though (like 500 lines) then we would recommend using a child theme too.

It's good that you marked it.

Did I correctly understand, if I want to insert the breadcrumbs php code in header.php, I should copy this file to the child theme?

Thank you so much!

No problem!

This archived topic is closed to new replies.