You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a network with around 50 sites using a set of themes that depend on Kirki 3. I'm now adding a theme that requires a v4+ and having some issues with the older themes. I'd prefer not to have two versions of the plugin floating around so I'm trying to patch the older themes to function properly.
The basic problem is that none of the existing customiser values are retrieved when I activate the newer version.
What's odd is that it all works fine in the customiser view. The theme looks the way it should and the fields show up.
I have tried publishing the customiser - no luck. I have also tried updating the PHP to declare the fields/containers the "new" way - no luck.
The only thing that does seem to work is to manually change a setting off and back on (or otherwise change its value) -- then the new value is saved and shows up in both customiser and normal view. This only applies to the value changed. That's not viable as it would involve manually fiddling every customiser control in every site, though.
Any wisdom gratefully received!
Version used:
3.1.9
Using theme_mods or options?
theme_mods
Code to reproduce the issue (config + field(s))
There are dozens of fields, but the basic issue is the same for each one. Here are a couple of examples:
Issue description:
I have a network with around 50 sites using a set of themes that depend on Kirki 3. I'm now adding a theme that requires a v4+ and having some issues with the older themes. I'd prefer not to have two versions of the plugin floating around so I'm trying to patch the older themes to function properly.
The basic problem is that none of the existing customiser values are retrieved when I activate the newer version.
What's odd is that it all works fine in the customiser view. The theme looks the way it should and the fields show up.
I have tried publishing the customiser - no luck. I have also tried updating the PHP to declare the fields/containers the "new" way - no luck.
The only thing that does seem to work is to manually change a setting off and back on (or otherwise change its value) -- then the new value is saved and shows up in both customiser and normal view. This only applies to the value changed. That's not viable as it would involve manually fiddling every customiser control in every site, though.
Any wisdom gratefully received!
Version used:
3.1.9
Using
theme_mods
oroptions
?theme_mods
Code to reproduce the issue (config + field(s))
There are dozens of fields, but the basic issue is the same for each one. Here are a couple of examples:
If I dump the kirki fields collection these are not included:
Retrieve value:
The text was updated successfully, but these errors were encountered: