I am creating a WordPress child theme for an existing website where the original developer was not particularly experienced with WordPress and has edited code within the original theme and plugins. I'm slowly going through the process of decoupling the code edits from the parent theme into the child theme.
I have copied across the row in wp_options where option_name is theme_mods_{parentthemename} to theme_mods_{childthemename} and this is usually enough to transfer across the main theme settings.
However, the site uses 21 sidebars with 46 active widgets and has a further 85 inactive widgets. When switching to the child theme, which has an identical sidebar setup (to outward appearences), 53 widgets are placed in the sidebars in what looks like a random order. The sidebars do not even contain the same amount of widgets.
There was no previous theme with the child theme name.
Is there any particular reason why these widgets are getting in a mess? Are there any further options within the database that I need to transfer or is this something I will just need to update manually?
Many thanks for any thoughts