Hi,
I have a Setting page:
Setting Page ID: global-settings
Option name: global-settings
Custom Fields:
Field Group ID:basic-settings
Field Name: Business Name
ID: alpha-business-name
Now I am trying to use the name of the business into posts (blogs) and other custom posts (faqs) so that once the website is ready and delivered the client can change the name of the business (they have working title for their business but not finalised yet).
While creating blog posts and FAQs, I need to use the name of the business a lot and I need to make it dynamic. I can't write code so tell me what I am doing wrong here:
The post is as follows:
Our vehicles are maximum 3 years old. At [BUSINESS NAME SHOULD BE HERE], we take presentation and look of our vehicles very seriously. All the photos you see on our website are of our own vehicles.
I have tried a lot of these in the the place where it says [BUSINESS NAME SHOULD BE HERE]:
[rwmb_meta id="alpha-business_name" object_type="mb_settings_pages" object_id=“global-settings”]
[oxygen data='custom_metabox_content' settings_page='global-settings' settings_path='alpha-business_name' settings_page='global-settings’]
<div>
$value = rwmb_meta( $alpha-business_name, ['object_type' => 'setting'], ‘global-settings’ );
echo $value;
$value = rwmb_meta( ‘alpha-business_name, ['object_type' => 'setting'], ‘global’-settings);
</div>