Welcome to ManageWP.org

Register to share, discuss and vote for the best WordPress stories every day, find new ideas and inspiration for your business and network with other members of the WordPress community. Join the #1 WordPress news community!

×

The problem with Theme Customizer and Child Themes

iampuneet.com | Apr. 25, 2015 | 3 min read

Losing options when switching to a child theme is the topic at hand. I suppose the solution is to not set options on the parent to begin with, but I can see the point being made.

12 votes   Flag
Ben Sibley

An update to core for this is being discussed here: core.trac.wordpress.org/ticket/27177

Child themes need to be able to support different options from their parent themes, but I agree it would be easier if the child theme defaulted to the parent theme's settings on activation.

For now, this amazing plugin makes the process of re-doing the settings take just a few seconds: wordpress.org/plugins/customizer-export-import/

Reply
Donna Cavalier

I like that plugin as well. Another option could be to simply include a checkbox and let the user choose to use the parent settings or not. I know, I know. Decisions rather than options. But it's something to consider.

Reply
Josh Pollock

The customizer can use anything for saving, not just theme_mods. It can save in options, meta, custom tables, remote data stores via an API...

Reply