Forum Replies Created
-
AuthorPosts
-
Long Nguyen
ModeratorHi,
The field
file_inputsaves the URL of the file while the featured image saves the ID of the image to the database so use the fieldfile_inputis impossible. You can follow this topic
https://support.metabox.io/topic/single-image-field-with-the-id-_thumbnail_id-is-not-showing-after-latest-updates/to know how to use other fields such as
file,image_upload,single_image... save the ID of the file upload instead of default Featured image with some piece of code.Hope that helps.
April 30, 2020 at 4:21 PM in reply to: ✅bugs: using two fields and field with required attribute #19395Long Nguyen
ModeratorHi,
The problem happens because of the double quote in the content of tooltip
"Em domicílio". Please update the new version of MB Conditional Logic to v1.6.12 then check it again.Thank you.
Long Nguyen
ModeratorHi,
You can use WordPress functions to create a query get posts with
mbproxy. Please follow this article to know how to do that
https://metabox.io/mb-views-how-to-display-relationships/or this sample code https://pastebin.com/anTUUTN3
April 30, 2020 at 10:22 AM in reply to: ✅file_advanced within a group is not showing in views #19389Long Nguyen
ModeratorHi,
Because the field
grouponly saves the image IDs of the fieldfile_advancedfor database optimization, so we can use some WordPress functions to get the image information by ID viambproxyFor example
{% for item in post.group.file_advanced %} {{ mb.get_the_title( item ) }} {% endfor %}Hope that helps.
April 30, 2020 at 10:02 AM in reply to: ✅Saved custom fields to be re-used across other CPTs? #19388Long Nguyen
ModeratorHi,
The field name can be the same but the field ID must be unique https://cl.ly/e1d343673b2c
Long Nguyen
ModeratorHi,
Please change the ID of the time to another format, not end with a number. Just like
'id' => 'start_time',
'id' => 'end_time',For more information, please follow the known issues of Group
https://docs.metabox.io/extensions/meta-box-group/#known-issuesApril 29, 2020 at 10:40 PM in reply to: ✅How to create a unique identifier for each group when using clonable/sortable #19378Long Nguyen
ModeratorHi,
Please take a look at my screen record https://www.loom.com/share/7264d770db2f40039f96777ebd73fdbc
The code
$video_options_list = rwmb_meta('settings_test_video_list', ['object_type' => 'setting'], 'settings_test' );
to get the value of the groupvideo_listworks as well.Long Nguyen
ModeratorHi,
Thank you, I'm going to check it and let you know later.
Long Nguyen
ModeratorHi,
The Builder supports using a field group for multiple post types, see my screenshot. If you want to use a field in multiple field groups, you should re-create that field in each field group.
It's easy to reuse a field by coding, just copy and paste the field code to another place. But thanks for the idea, I will discuss with the developer team to create a new feature that supports the Builder to make a field reuseable.
April 29, 2020 at 5:07 PM in reply to: ✅Bug with most recent update: Error from WooCommerce Log #19368Long Nguyen
ModeratorHi,
So if you deactivate all plugins except Meta Box and extensions then the Place Order button still works as well, I think the problem happens due to the conflict between WooCommerce and plugin Search & Filter Pro. Please check it and let me know.
Long Nguyen
ModeratorHi,
Please turn on debug then let me know if there is any error message.
April 29, 2020 at 4:53 PM in reply to: ✅// Metabox.io https://docs.metabox.io/displaying-fields/ blank page error #19366Long Nguyen
ModeratorHi Sam,
Please take a look at the short screen record to know how to get the
$field_idand$post_idthen you can add the code to display the field value to anywhere.April 29, 2020 at 10:38 AM in reply to: ✅Bug with most recent update: Error from WooCommerce Log #19358Long Nguyen
ModeratorHi,
Please keep the theme Twenty Nineteen activate, then open the console tab in Developer tool of the browser in the page Checkout and turn on debug. Let me know if there is an error message before and after clicking the button Place Order.
April 29, 2020 at 10:27 AM in reply to: ✅// Metabox.io https://docs.metabox.io/displaying-fields/ blank page error #19356Long Nguyen
ModeratorHi Sam,
If you display the field outside the loop, please replace the variable
$field_idwith the ID of the field, for example, https://docs.metabox.io/fields/text/#sample-code ID istext
$argsif you do not use any arguments, leave it blank
$post_idwith the ID (number) of the post, you can get it when editing the post and see on the URL wp-admin/post.php?post=2482&action=editthe code would be
rwmb_meta( 'text', '', '2482' );Long Nguyen
ModeratorHi,
Could you please share the code which uses to create the field or the screenshot in MB Builder? Maybe the field ID has been changed then Meta Box render a new field with the new ID. Please create a backup first then change the ID of the new field with the ID in the custom field. Let me know how it goes.
-
AuthorPosts