Support Forum
Support › MB Settings Page › Getting started with Site Settings and GutenbergResolved
Hi,
I've been searching everywhere for help with this but can't find anything.
I have a site settings page that I created. It works fine in the beaver builder framework.
I am working to switch to Gutenberg editor. I can't seem to get the site settings to pull into the page when I add a shortcode. In fact, I've tried many attempts to use shortcodes without any success.
The shortcodes work really easily in beaver builder. Of course I've used the Metabox help page on shortcodes, but nothing worked. https://docs.metabox.io/shortcode/
Can you point me in the right direction on how to implement the shortcodes for the site settings?
Thanks,
Eric
Hi Eric,
You can see the example to get a field value from a settings page here
https://docs.metabox.io/shortcode/
[rwmb_meta id="phone" object_id="site_option" object_type="setting"]
If it does not work on your site, please share the code that creates the settings page and custom fields, I will help you to check the issue.
Hi Long,
I was wondering if I can follow up again on this inquiry from last year. I'm still trying to add site settings to my sites so I can have a global settings page. Not sure why it's not connecting. I made a short video showing what I'm seeing.. If you need access let me know.
https://share.zight.com/L1u8WObP
Thanks
Eric
Hello,
You can click on Advanced link to get the option name and replace it with "site_option" in the shortcode above, screenshot https://imgur.com/dXrQGKP
[rwmb_meta id="phone" object_id="settings_page_123" object_type="setting"]
thank you! that worked. I will play around with that.
do you know of a gutenberg plugin that supports site setting fields? I switched from Beaver Builder which has extensive support, to gutenberg and it is not as advanced. I'm using WP Stackable which has support for CPTs with gutenberg. I've asked them many times if they can support Site Settings but they basically told me no. Thanks!
Interestingly, I asked wpstackable and they approved the request to add the MB Setting Page fields to the development list! That will be pretty great right?