Group Admins

WordPress Troubleshooting and Support

Public Group active 1 year, 1 month ago ago

WordPress support from our community

WP Customizer Data

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #3180

    I am using a Parent theme to set up most of my customizer settings and Parent theme. Then creating a child theme that has additional controls/settings and different layout. Does the customizer data move its values from theme to theme if they have the same value name or does it need to set values again for each theme?


    I placed this question on post How to leverage the theme customizer in your own themes and got a quick response from Chip Bennett which makes sense..

    He wrote:
    The Customizer, by default, uses the Theme Mods API, which saves settings as Theme-dependent – meaning that parent and child Themes will have a unique option in wp_options. The Customizer can be configured to use the Options API, and as long as both parent and child Themes reference the same option name, settings can be shared.

    Thanks Chip

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.