Closed vladolaru closed 4 years ago
One solution would be to show a notification on the Themes page, after activating a child theme, to ask the user if he or she would like to copy over the customization settings from the parent theme.
Done. A notice will appear upon child theme activation and ask to migrate the parent theme mods to the child (copy the values).
Right now, the theme mods are unique for the parent theme and the child theme. So when someone activates a child theme it will "lose" all customizations. They are still in the database, but not applied because, as far as the theme mods system is concerned, a child theme is a completely different theme than the parent theme.
From the standpoint of Customify, this is not a good thing as it makes using a child theme later on in the life of a site a non-option. One would have to recreate all customizations.
At least, we should migrate existing theme mods from the parent to the child on the child theme's first activation.