Getting started with Site Settings and Gutenberg
Support › MB Settings Page › Getting started with Site Settings and GutenbergResolved
- This topic has 6 replies, 3 voices, and was last updated 2 years ago by
[email protected].
-
AuthorPosts
-
June 17, 2022 at 12:11 AM #36541
[email protected]
ParticipantHi,
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,
EricJune 18, 2022 at 6:33 PM #36566Long Nguyen
ModeratorHi 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.
October 24, 2023 at 9:38 PM #43598[email protected]
ParticipantHi 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
EricOctober 25, 2023 at 8:19 PM #43610Peter
ModeratorHello,
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"]October 26, 2023 at 12:12 AM #43621[email protected]
Participantthank you! that worked. I will play around with that.
October 26, 2023 at 9:18 PM #43644[email protected]
Participantdo 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!
October 28, 2023 at 9:39 AM #43663[email protected]
ParticipantInterestingly, 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?
-
AuthorPosts
- You must be logged in to reply to this topic.