ClassicPress PetitionsClassicPress Petitions
This is a read-only archive. Post or comment on the live version of this page on our forums.

Add option to inherit parent theme options

September 7, 2018 · 15:55 · Dora D.
Description

If a child theme is installed later, copying all options from parend to child can be pita. When acivating a child theme which has no options saved yet, ask if copy from parent.

Voters
+7 more
Tags
Request: Add feature
Discussion
Fabian Wolf

Oh how I wish this was possible. If the theme is using the Customizer, there is a small workaround, but it'd need a plugin .. yeah, I vote for this! Eg. as a simple filter or action hook, or a function call during theme activation.

William Patton

This is possible to do inside the theme with a filter on after_switch_theme or inside an activation hook.