Forum Replies Created
-
AuthorPosts
-
August 16, 2024 at 9:43 PM in reply to: Settings Page changes type from Settings Pages to Post #46161
Peter
ModeratorHello,
The issue is related to the PHP setting
max_input_vars, in most cases. Please try to increase this PHP setting value (50-100k) and check the issue again.
Following this article https://metabox.io/wordpress-custom-fields-not-saving-increase-max-input-vars/August 15, 2024 at 10:36 PM in reply to: ✅WP All Import Lat Long Coordinates Do Not Show On Map #46155Peter
ModeratorHello,
No, you should add the field value to the map field:
airport_map. Let me know what you see when importing the map field with this value:54.729,-68.435,5Peter
ModeratorHello,
You can use the
postfield which supports showing a list of entries of a CPT. Please follow the documentation https://docs.metabox.io/fields/post/August 14, 2024 at 10:04 PM in reply to: ✅Setting up a post type loaction on the custom fields was not saving. #46151Peter
ModeratorHello,
I already replied to your ticket in the system:
As I can see, the PHP setting max_input_vars is set to 800. Can you please increase it to a higher value, such as 100k then check the issue again?Please check this and follow the suggestion.
August 14, 2024 at 10:02 PM in reply to: ✅WP All Import Lat Long Coordinates Do Not Show On Map #46150Peter
ModeratorHello John,
If you want to import latitude and longitude and show the location on the map, you should import the value to the map field directly with this format:
latitude,longitude,zoom
Please read more about map field value in the documentation https://docs.metabox.io/fields/osm/#dataPeter
ModeratorHello,
If you use the builder, please use the option "Advanced location rules" in the field group settings. Please check this screenshot https://imgur.com/lzk0PTd
Peter
ModeratorHello Chris,
It is possible to run a PHP function in the view template, please follow the documentation https://docs.metabox.io/extensions/mb-views/#running-php-functions
if Polylang supports a PHP function that check the language, you can use that in the view template.
August 12, 2024 at 11:23 PM in reply to: ✅load the frontend submission form in the wp admin backend #46141Peter
ModeratorHello Nick,
It isn't possible to render the frontend form shortcode in the admin area. You can run the function
do_shortcodein the admin area but the frontend form shortcode doesn't work, it works in the frontend only.August 12, 2024 at 11:01 PM in reply to: Lock SLUG From Changing when Updating Singular Name of CPT or CT #46140Peter
ModeratorHello,
It can be a feature request. I will share your feedback with the development team so they can consider supporting this option in future updates.
Thank you.
Peter
ModeratorHello,
It is the limitation of WordPress for the slug. You can read more in the WordPress documentation
https://developer.wordpress.org/reference/functions/register_taxonomy/max characters for the taxonomy slug is 32, I will inform the development team to update the message to show the correct number. If you create more than 32 chars, the taxonomy might not appear in the admin menu.
Peter
ModeratorHello Mats,
If you use the map field, you can follow the documentation below to get the map data: latitude, longitude
https://docs.metabox.io/fields/map/#getting-field-value$location = rwmb_get_value( 'map_field_id', '', get_the_ID() ); $latitude = $location['latitude']; $longitude = $location['longitude'];Peter
ModeratorHello Adam,
You can use the helper function
rwmb_meta()to get the full image info. Please follow the documentation
https://docs.metabox.io/fields/single-image/#template-usage$my_meta_value5 = rwmb_meta( 'single_image_id', ['size' => 'thumbnail'], get_the_ID() ); echo $my_meta_value5['url'];Peter
ModeratorHello Joe,
It isn't possible to add the function
cmb_fields_by_user_roleto the Meta Box registration like that. If you want to show the field group for a specific user, please use the extension MB Include/Exclude. Following the documentation https://docs.metabox.io/extensions/meta-box-include-exclude/Peter
ModeratorHello,
I see there are some JS errors in the Console tab of the browser Inspect tool, please try to resolve them and check the issue again. See this screenshot https://imgur.com/aut8YAI
August 10, 2024 at 4:01 PM in reply to: How to show relationships in same order as set in backend? #46128Peter
ModeratorPlease remove the order parameter from both args1 and args2 then check the issue again. If it still doesn't work, you can share your admin account by submitting this contact form https://metabox.io/contact/
I will take a look. -
AuthorPosts