Forum Replies Created
-
AuthorPosts
-
Peter
ModeratorHello,
This information is noted in the documentation https://docs.metabox.io/extensions/meta-box-geolocation/#field-group-settings
If you have a Google Maps field in your field group, then you can set the Google API key once, either for the Geolocation extension (as above) or for the map field. No need to enter the same key for both of them.In this case, you can add the API key to the
mapfield settings and use this'geo' => truefor the meta box settings. Also, the address field must start withaddress_xxxinstead oflocation_addressThis code works properly on my local site
add_filter( 'rwmb_meta_boxes', function ( $meta_boxes ) { $meta_boxes[] = [ 'title' => 'Event details', 'post_types' => 'page', 'geo' => true, 'fields' => [ // Map field. [ 'id' => 'location_map', 'type' => 'map', 'std' => '51.5074,-0.1278,15', 'address_field' => 'location_address', 'api_key' => 'xxxxxxxx' ], // Address field. [ 'id' => 'address_location', 'name' => __( 'Address', 'text-domain' ), 'type' => 'text', 'placeholder' => 'Enter address...', 'desc' => __( 'Enter the complete address.', 'text-domain' ), 'required' => true, ], // Hidden field to store the city and country [ 'id' => 'city_country', 'type' => 'text', 'binding' => 'locality + " " + country', 'std' => 'null', ], // Other custom fields.... ], ]; return $meta_boxes; } );Peter
ModeratorThanks for sharing the details. I will forward it to the development team to check and fix this issue.
Have a nice day!
Peter
ModeratorHello,
Can you please share the full error trace in the debug log? If you know how to reproduce the issue with clear steps, please let me know how to do that. I will try to reproduce the issue on my demo site and investigate it.
Refer documentation https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/
Peter
ModeratorHello,
I suggest you try steps below to troubleshoot the issue:
1. Create a new field group, add a Google Map field and an address field; no need to use the Geolocation feature.
2. Add your API key to the map field and check if the map field works properly.=> If yes, you can try to add the API key to the map field in the field group that you use the Geolocation and recheck this.
=> If not, your API key isn't correct or some services are not enabled for using the Geolocation.
https://docs.metabox.io/extensions/meta-box-geolocation/#geolocation-apiPeter
ModeratorHello Stephane,
Thanks for reaching out.
I can see the files under the folder /scripts/ are missing in the MB AIO plugin. Can you please install the single plugin MB Divi Integrator and see if it helps?
https://metabox.io/plugins/mb-divi-integrator/Peter
ModeratorHello Keith,
If you have any questions related to Slim SEO, please contact us here https://metabox.io/contact/
Our support team will get in touch with you shortly.Thank you.
May 28, 2025 at 9:56 PM in reply to: ✅Upgraded to AIO, now meta fields won't display unless free MB is activated #48338Peter
ModeratorHello Max,
The plugin Meta Box is now included in the Meta Box AIO source, so I think you don't need to use the snippet code to get the fallback function. If you prefer to use the custom code, you are welcome to add it to your site, but we won't support the custom code if it causes any issues there.
I hope that makes sense.
Peter
ModeratorHello,
Thank you for your contribution.
The text
Are you sure you want to remove %s?is ready for translation by using the gettext function of WordPress. You can use a translation plugin like Loco Translate to scan texts in the plugin and translate them as well.Let me know if it helps.
Peter
ModeratorHello Jeff,
Thanks for reaching out.
I see that there are some issues in your code and they are not related to the way to get the field value on a settings page.
1. If
enable_site_commentingis the field ID andwebsite-infois the option name (not the settings page ID), you need to remove the$character.2. No brackets in the
ifstatement.3. Use an assignment variable instead of comparison operator
$site_commenting_value = rwmb_meta( 'enable_site_commenting', ['object_type' => 'setting'], 'website-info' ); if ( $site_commenting_value == 'Enabled' ) { RUN_THIS_CODE }If you are not able to complete the task, we offer a customization service with an extra fee. Please contact us here for more details https://metabox.io/contact/
Peter
ModeratorHello,
Thanks for reaching out.
Regarding the refund policy, we will process refund requests within 14 days of the purchase date. Therefore, the latest date to request a refund is June 06.
Let me know if you have any questions.
Peter
ModeratorHello,
Thanks for the details. I'm not able to reproduce the issue on my site. So, for the next step, please share your site admin account by submitting this contact form https://metabox.io/contact/
I will take a closer look.
Peter
ModeratorHello Ossama,
Thank you for your feedback.
I can reproduce the issue with the custom block on the editing page. I've escalated the issue to the development team to fix it as soon as possible.
Peter
ModeratorHello Stephen,
Thanks for reaching out.
If you activate the single plugin Meta Box, does the "Code" tab of the WYSIWYG field display content properly?
May 24, 2025 at 10:06 PM in reply to: JS Errors after latest update, subsite installs un-editable #48320Peter
ModeratorHello Dassels,
Thanks for reaching out.
That looks strange. I don't see the issue on my local site with the same subsite folder format. Please try to:
- deactivate all plugins except Meta Box plugins, switch to a WordPress theme
- check the file wp-config.php and see if there is any custom code that can affect the site URL, remove itLet me know how it goes.
Peter
ModeratorHello,
I'm not sure what do you mean
they are all in one custom field,in that field I have multiple (ungrouped) taxonomy field. How taxonomy fields are in one custom field? Is the custom field thegroupfield?Can you please share the field group JSON file so I can understand what you are doing there?
-
AuthorPosts