Can't open Cornerstone anymore

Hi @spektukal,

If you have made all the customization in the child theme only, I would suggest you download it through the FTP/CPanel, and later on you can upload it again.
Exporting the Theme Options can be possible with the plugin mentioned by my colleague as the plugin closes the database and imports it.

Thanks

At this rate I’ll have to keep posting here for weeks. Could you please give me a simple way or a simple answer for if it is possible to set up a child theme and copy the customizations over from the parent theme, on the same site? Ideally through the use of a plugin like " Customizer Export/Import" that I’ve mentioned before, so I don’t have to do everything manually.

And it really would help if you took at least a quick glance at what has been posted here before. Otherwise I just keep repeating everything that has already been said over and over again and we’re not getting anywhere. It’s been a whole week now since I’ve posted this request and you still keep giving me conflicting reponses, ignoring everything that was already mentioned.

Hey @spektukal,

The plugin https://wordpress.org/plugins/customizer-export-import/ is not useful in your case. This plugin only imports/exports the customizer option in default WordPress. If you follow my recommendation above, you can transfer the customization from the parent to the child theme.

Thank you.

I have seen people mention this plugin specifically because they have used it to copy over customizations from a parent to a child theme. So I guess I will try it and see if it works. If not then I’ll try the manual method you’ve posted or hire someone to do it. If the plugin does work I might report back here since that knowledge should help some of your other customers with the same issue.

Hey @spektukal,

That’s great and let us know how it goes.

Thank you.

Hi,

I’ve just remembered a question I’ve already asked here but that you’ve failed to respond to:
If I set up a child theme with the latest version and try to copy the customization from a parent theme that is an old, outdated version, would there be no problems? Wouldn’t I have to use the same version for the child theme as the parent theme? Since updating the parent theme always gets rid of the customizations. Or is that only because of the update process itself?

Hey @spektukal,

When setting up a child theme, the compatibility with the parent theme generally isn’t reliant on having the exact same version. Child themes are designed to inherit the functionality and styling of the parent theme, regardless of whether the parent theme is updated or not.

Hope that helps.

Yes, I am aware that parent and child theme can have different versions. What I was asking specifically is: If I want to move the customizations from the parent to a child theme, would I not need to install the same version for the child theme? If you have set up a child theme then the parent theme’s version doesn’t matter. But it probably matters when trying to move the customizations. Does it not? Or why else does it mess up the site if you update the parent theme without having a child theme set up?

Hey @spektukal,

It is acceptable for the child theme and parent theme to have different versions since the child theme primarily extends the functionality of the parent theme. When customizations are made directly to the parent theme, updating it to the latest version can lead to the loss of these customizations. This occurs because the updated version of the parent theme replaces the existing code, including any custom modifications made in the parent theme’s files. This underscores the importance of using a child theme to safeguard customizations, ensuring they remain intact even when the parent theme is updated.

Hope that helps.

From your reply I’m still not sure if you understood the problem in this specific situation. But if it’s only the “reset” of the theme basically that gets rid of the customizations, then shouldn’t it be possible to just disable that? Or to copy the customizations and then paste them back in after an update. I kinda doubt it’s that easy since an update surely changes some other things. And that’s why this seems like an issue.

If I just copied the customizations from the parent theme over to a newly created child theme, and both are different versions, would this really not cause any issues? If I did it manually, only copying the relevant parts, then I might be able to avoid it. But if you basically just copy/paste all the code in it over, surely that wouldn’t work. Or would it?

Hi @spektukal,

If you are copying it from the parent theme to the child theme, the customization will work as it is.

Thanks

I finally got around to fixing this issue and as I mentioned before I wanted to give you some info on it.

Surprisingly all I had to do was install the child theme and activate it. That didn’t mess up the layout of the site and I could update the parent theme afterwards without issues. So now the site is finally back in working order. And I’m only left to wonder why updating the parent theme if you have no child theme set up messes up the site, while installing a child theme with the latest version and switching over to it seems to not affect it at all.

But yeah, this info might help some of your other customers. It sure would have helped me if I had known that this problem could be solved so easily. But all I’ve ever heard from you guys is that I will lose my customizations if I install a child theme, so I have to copy everything over manually, etc.

Hey @spektukal,

We’re glad that you’re able to figure it out!

What we are trying to explain is that, if you made any code customization directly from the parent theme it will automatically be wipe out when you update and based on your last response, I do believe that the previous developer didn’t add any customization code from the parent theme.

Thank you.

But I have tried updating the parent theme before and it did mess up the site’s layout. That’s why I was surprised that nothing happened when I just switched over to the child theme without copying over the customizations.

Hello @spektukal,

That could only mean that the customizations were added in the Theme Options or Appearance > Customizes > Additional CSS section. There was no template file on the parent theme that had been modified.

Best Regards.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.