Forum Replies Created
-
AuthorPosts
-
Long Nguyen
ModeratorHi,
It's not possible, Elementor only supports showing the value of the option. You can try to create a shortcode by coding to show the value.
Long Nguyen
ModeratorHi ac,
Thank you for getting in touch.
Currently, there is no field that grabs values of other custom fields to use as its value. When outputting the value, you can just concatenate the value of 3 fields into one.
For example:
$value1 = rwmb_meta( 'custom_field_1' ); $value2 = rwmb_meta( 'custom_field_2' ); $value3 = rwmb_meta( 'custom_field_3' ); echo $value1 . $value2 . $value3;Long Nguyen
ModeratorHi,
I see the dynamic tag User Info shows the user meta as well, screen record https://share.getcloudapp.com/4gunJRvB
And please notice that this tag helps you to show the status of the logged-in user.
Long Nguyen
ModeratorHi,
Thanks for your feedback.
I think there are not many plugins/themes compatible with PHP 8. I will inform the development team to check this case and improve on our end. Please start your project with PHP 7.4 for a better experience.
Long Nguyen
ModeratorHi,
Please refer to this topic to get the author (user) meta for a post
https://support.metabox.io/topic/user-custom-fields-and-elementor-dynamic-content-for-author/Long Nguyen
ModeratorHi,
Both Advanced Scripts and Code Snippets are ok. If you use the snippet plugin to implement the code, you need to create a shortcode then add the shortcode to the builder when creating the post. Refer to this document https://docs.metabox.io/extensions/meta-box-group/#outputing-group-with-page-builders
Long Nguyen
ModeratorHi Yumiko,
The default value displays as well with the checkbox field
prd_checkbox_new. Screen record https://share.getcloudapp.com/Kou4r6DmPlease follow the Debugging Information step here and share full of code that create the custom fields. I will re-check the issue.
Long Nguyen
ModeratorHi,
Thank you for getting in touch.
The development team is working on this issue tirelessly. The integration plugin will include the fix in the next update.
Long Nguyen
ModeratorHi,
Thank you for your feedback.
I'm going to inform the developer team to consider adding it to the to-do list for the future development of the plugin.
Long Nguyen
ModeratorHi,
Meta Box is a developer tool so you need to have basic coding knowledge to do more advanced cases with Meta Box.
Long Nguyen
ModeratorHi Laurent,
1, 2. Yes, the custom fields created by Meta Box are saved in the default table
postmeta. But for some complex fields like cloning field, group, the value of the field is more complicated. And it might not work with WP All Import.- You can see the sample case I explain in this reply https://support.metabox.io/topic/style-text-in-a-custom-field/#post-28756
Long Nguyen
ModeratorHi,
Here is the sample code to use the Art Direction, single_image field type, change the image size loaded based on the screen width.
<?php $thumbnail = rwmb_meta( 'single_image', array( 'size' => 'thumbnail' ) ); $large = rwmb_meta( 'single_image', array( 'size' => 'large' ) ); ?> <picture> <source media="(max-width: 799px)" srcset="<?php echo $thumbnail['url'] ?>"> <source media="(min-width: 800px)" srcset="<?php echo $large['url'] ?>"> <img src="<?php echo $large['url'] ?>" alt="Chris standing up holding his daughter Elva"> </picture>You need to add the code to the corresponding template file in your theme folder.
June 13, 2021 at 9:27 PM in reply to: ✅How to pre-fill specific address fields from address field. #28874Long Nguyen
ModeratorHi Clay,
You can use the extension MB Geolocation to populate other fields base on the address field. Get more details on the documentation https://docs.metabox.io/extensions/meta-box-geolocation/
Currently, there is no option to populate the address field when changing the pin. The extension supports populating the latitude and longitude based on the pin.
Long Nguyen
ModeratorHi Aaron,
I didn't see the error message on my local site, screen record https://share.getcloudapp.com/lluNYXqz
Can you please re-install Meta Box and MB AIO then check this issue?
Long Nguyen
ModeratorHi Danny,
If you want to get the user ID dynamically for each logged in user, you can use the WordPress function get_current_user_id() and follow the documentation to get the user meta https://docs.metabox.io/extensions/mb-user-meta/#getting-field-value
-
AuthorPosts