How can I update child theme keeping my data?

Posted in: Newspaper
Post count: 21

I have a 4 files in my child theme
function.php
style.php
header.php
footer.php

I have added google adsense code in header.php file in my child theme, Now how will i update the whole child theme keeping my data? As you have said I need to update the main theme and child theme for best practice.

Post count: 21065

Hello!

If you will use in the future cloud templates (that we recommend), then you have many customization options in the TagDiv Composer. We wanted to create the easiest platform, so you can build your website without knowing any code and have the possibility to customize every field from any demo. That’s why you do not need a child theme with cloud templates. But you can use the child theme you have with the default templates.
The update does not overwrite the child theme. An issue with that could be whether your child’s theme version is compatible with the new version of our theme.

Thank you!

Post count: 21

Thanks for your recommendation but I must use a child theme for some reason including adding AdSense code in <head> tag in the child theme. Please tell me how to update every time when available a new version of the child theme properly without losing data like AdSense code added in the child theme header.php. I know you will tell me to use the Sitekit plugin. But I don’t want to use that plugin

Post count: 21065

Hello!

There won’t be a new version of the child theme. You shouldn’t update it every time.

Thank you!

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.