Customizer Settings

Support MB Settings Page Customizer Settings

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #13147
    Mark TenneyMark Tenney
    Participant

    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?

    #13154
    Anh TranAnh Tran
    Keymaster

    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 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.