Custom Fields
Support MB Settings Page Customizer Settings

  • Creator
  • #13147
    Mark Tenney

    Hey Anh! I'm tackling my first settings/options area for MB, and I have two main questions.

    1) Is there a way to add the settings page to the Customizer area instead of having it on the backend? I'd love to make the fields into a customizer tab so changes can be done on the front.

    2) Is there a way to map the fields I make to the theme's customizer stuff? I'm using BB theme. i.e. when someone sets a logo, colors, favicon in the settings page I make and it updates the themes stuff for that?

Viewing 1 replies (of 1 total)
  • Author
  • #13154
    Anh Tran

    Hi Mark,

    1) I started to do an extension for the Customizer 2 years ago. But the more developing, the more I realized that I had to rewrite the whole plugin to port it to JavaScript. So, I stopped. At the moment, the MB Settings Page only supports back end pages, not in the Customizer.

    2) To make it compatible with Customizer, you need to set 'option_name' => "theme_mods_$themeslug" in your settings page. Then the MB Settings Page will save data into theme mods, which are used by the Customizer.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.