Forum Replies Created
-
AuthorPosts
-
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.
June 26, 2024 at 9:37 PM in reply to: Add Custom taxonomy in custom table as well WordPress native term #45724Peter
ModeratorHello Raj,
There isn't a way to save the custom taxonomy to the custom table. The custom table created with Meta Box is used to save the custom field value, not the post or taxonomy.
Please read more about custom table in the documentation https://docs.metabox.io/extensions/mb-custom-table/
June 25, 2024 at 11:17 PM in reply to: ✅Metabox Group - Adjust 'Remove Clone' Dialog Notification Message #45719Peter
ModeratorHello,
There isn't an option or a hook to add the group title to the confirmation message when deleting a cloneable group. I will inform the development team to consider supporting this in future updates.
Peter
ModeratorHello,
Using the frontend form means you are using the settings in the admin area, the form just brings settings to the frontend. It is different from the rendering map in the frontend when you output the field value. And there isn't a field setting to add JS options to the map in the admin area.
-
AuthorPosts