Custom Fields
Support MB Settings Page Integrating with Astra

  • Creator
  • #12904

    Quick Version: Can I create a settings page that links to Astra Customizer settings?

    Long Version: I am building a multisite theme that I want to simplify for end users. Instead of having them go into themes > customizer > layout > site identity > logo (etc), I just want to have one settings page with tabs for the settings they will need to change.

    So far I have created the settings page, with the following tabs:

    Header | Footer | Content | Social

    I then created a custom field in Builder for "Logo" and added that to the Header settings tab. How do I get customizer to use this field for the logo? Or is the only option to create a header with Beaver Themer, and then link to the metabox field from there?

    Can I link a bunch of astra customizer settings to the MB Settings page? For example, font, font size, font colors, etc? Or am I overcomplicating things by trying to make custom settings easier for my customers?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
  • #14293

    I’d be interested to know if there’s a default way to write to native settings as well. I assumed I’d have to hook into a save filter for my metabox fields, watch for changes to specific fields, and apply those settings to the appropriate WP/theme setting. But if there’s a way to work directly with the theme(I’m a divi guy) or WP setting that would be niiiice.

    Anh Tran

    Hey guys,

    The MB Settings Page plugin works with all kind of options and normal WordPress Customizer's settings (as customizer settings are also saved in an option).

    However, to make sure it works with Astra, you might need to confirm 2 things:

    • Astra is using an option (or native WordPress customizer settings) to save its own settings
    • The data format of settings in Astra matches the way Meta Box saves data.

    For example:

    WordPress Customizer saves logo as an ID of the attachment page, which is compatible with Meta Box's single image field. If Astra does the same, then they can work together.

    This is the most important thing. I'm not an experienced user with Astra (I tested it, but haven't looked into it thoroughly), so please test it yourself.

    If you want to link to a specific section in the Customizer, then here is the solution.

    Mark Tenney

    Denny & Mike, I'm also trying to do the same thing. Please let me know if you figure anything out. Perhaps if a few of us can dig around the Astra code, we can figure it out together.

    EDIT: Here's a thread I posted on this same subject. Ahn's response might help us sort it out:

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