Forum Replies Created
-
AuthorPosts
-
June 28, 2024 at 10:06 PM in reply to: ✅Display Content of Shortcode in WYSIWYG Field on Frontend #45762
Peter
ModeratorHello,
Please share your site credentials by submitting this contact form https://metabox.io/contact/
I will take a look.Peter
ModeratorHello,
If you use the code to register the meta box (field group in the builder UI), you need to add
geoto the meta box settings. For example:add_filter( 'rwmb_meta_boxes', function ( $meta_boxes ) { $meta_boxes[] = [ 'title' => 'Event details', 'post_types' => 'event', 'geo' => [ 'api_key' => 'YOUR API KEY', ], 'fields' => [ ... ], ]; return $meta_boxes; } );Peter
ModeratorHello Steve,
There are two issues on your site:
1. The table name is not added in the field group settings.
2. Unknown issue with Cuisine and restaurent-tags taxonomies. I move it to the trash and restore it back.Then I can save the field value to the custom table as well.
Peter
ModeratorHello,
Do you add the setting
geoto the field group settings? Please follow the documentation https://docs.metabox.io/extensions/meta-box-geolocation/#field-group-settingsJune 27, 2024 at 10:13 PM in reply to: How to determine type (post/user) of $object_id passed in rwmb_after_save_field #45751Peter
ModeratorHello,
You can use some WordPress function to check the type of the object ID
https://developer.wordpress.org/reference/functions/get_user_by/
https://developer.wordpress.org/reference/functions/get_post/If you don't want to check the object type, you can use the specific filter with the field ID that is associated with an object type.
rwmb_{$field_id}_after_save_fieldJune 27, 2024 at 9:44 PM in reply to: Map field default location in clonable group....via AJAX? #45750Peter
ModeratorHello,
If you want to show the default value for the subfield in a cloneable group, you can follow the documentation https://docs.metabox.io/extensions/meta-box-group/#setting-default-group-values
There isn't an option to get the value of the 1st subfield and display it as the default value of the 2nd subfield.
It is possible to display multiple markers on a map, you need to create some custom code to do that. Here is a reference https://metabox.io/display-all-listings-on-a-map/
Peter
ModeratorHello,
In this step https://metabox.io/display-all-listings-on-a-map/#display-data-using-javascript
you will need to use the script code that supports showing Google Map
https://developers.google.com/maps/documentation/javascript/adding-a-google-mapIf 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,
As I mentioned above, this issue has been escalated to the development team and currently we don't have any clue how this happens. I will get back to you if I have more information.
Thank you.
Peter
ModeratorHello,
1, 2. You can create a taxonomy field and enable the admin columns option with Searchable, Filterable settings. Also, turn off the admin column when creating the taxonomy Funnel Category: Meta Box > Taxonomies > Funnel Category > Advanced tab.
Following the documentation
https://docs.metabox.io/extensions/mb-admin-columns/
https://docs.metabox.io/fields/taxonomy/3. There isn't an option to have a toggle button like that.
Peter
ModeratorHello Steve,
I did check the "Save data in a custom table" box.Can you check if the custom table is created in the database? And make sure the column titles match the field IDs in the field group.
Following the documentation https://docs.metabox.io/extensions/mb-custom-table/
June 26, 2024 at 10:40 PM in reply to: Map field default location in clonable group....via AJAX? #45730Peter
ModeratorHello Andrew,
I'm afraid that there isn't an option to set the default value of the next map field by the value of the previous map field.
June 26, 2024 at 10:23 PM in reply to: ✅Display Content of Shortcode in WYSIWYG Field on Frontend #45729Peter
ModeratorHello,
1. You have to add the code to the template of the theme, not the file functions.php. For example: Twenty-Twenty One theme, file wp-content/themes/twentytwentyone/template-parts/content/content-single.php
3. Is the field "mb_resource_resource_offer_cta_box" a custom field of the current post to which you add the shortcode?
If you don't add the "object_id" attribute to the helper shortcode, the current post ID will be used.Following the documentation
https://docs.metabox.io/shortcode/
https://docs.metabox.io/displaying-fields-with-code/Peter
ModeratorHello,
Currently, we don't support adding a custom field or more information about the relationship. You can create your own custom code to have a custom table that holds that information but it isn't a feature of Meta Box itself and beyond our scope of support.
Peter
ModeratorHello Marcus,
If you use the Twig date() function, please save the date field value as timestamp and check the issue again. Following the documentation
https://docs.metabox.io/fields/date/
https://twig.symfony.com/doc/3.x/filters/date.htmlPeter
ModeratorHello,
Yes, please try to create a new user and see if you can see the field group when logging in to the admin area with the new user.
-
AuthorPosts