Group Admins

  • Profile picture of Steve

WordPress Troubleshooting and Support

Public Group active 6 months, 2 weeks ago ago

WordPress support from our community

WP Customizer Data

This topic contains 1 reply, has 1 voice, and was last updated by  Chad 4 years ago.

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

    Chad
    Participant

    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?

    #3181

    Chad
    Participant

    I placed this question on Ottopress.com 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.