Forum Replies Created
-
AuthorPosts
-
December 31, 2024 at 9:13 AM in reply to: ✅unserialize(): Error - When using custom admin column #47270
Peter
ModeratorHello,
Do you add/upload more featured images to the field
_thumbnail_id? Because the field typefile_uploadallows uploading multiple files/images.
You can try to use the field typesingle_imageto recheck this issue. Following the documentation
https://docs.metabox.io/fields/single-image/Peter
ModeratorHello,
Thank you for your feedback.
I will forward this feature to the development team to consider adding it to the to-do list for the future development of the plugin.
Peter
ModeratorHello Travis,
You can hover over the dots, drag and drop the post to re-order it. If it doesn't work on your site, please try to deactivate all plugins except Meta Box, MB extension plugins, switch to a WordPress theme and check the issue again.
Let me know how it goes.
December 28, 2024 at 9:56 PM in reply to: When did ['post_id'] became ['object_id'] in the $config?? #47254Peter
ModeratorHello Yasmine,
Yes, we change
post_idtoobject_idfor the frontend form from Meta Box AIO 1.31.0 to support the compatibility between the custom model and frontend form. That means you can submit a custom model entry from frontend.
You can read more about this update in the changelog https://metabox.io/plugins/meta-box-aio/changelog/
and documentation https://docs.metabox.io/extensions/mb-frontend-submission/#adding-the-submission-formDecember 28, 2024 at 9:40 PM in reply to: ✅Field group not loading collapsed when editing a front end post #47253Peter
ModeratorHello,
Can you please share a screen record of the issue on your site?
Peter
ModeratorHello,
If you have two or more custom tables for each field group, you can add all field group IDs to the frontend shortcode and save the field values to all custom tables when submitting or editing the post.
Peter
ModeratorHello Nick,
What field type accepts a base64 string? Do you save the field value to a custom table? I think the answer is related to the data type when you create the custom table rather than the field settings.
Peter
ModeratorHello,
Is there any chance you read my request above? Please export the field group to a JSON file and share it here, I will help you check the field settings.
Peter
ModeratorHello Tanja,
If you are using the builder, please export the field group to a JSON file and share it here. If you use the code to register the custom fields, please share the code also.
I will help you check the field settings and conditional logic.
Following the documentation https://docs.metabox.io/extensions/meta-box-builder/#export--import
https://docs.metabox.io/creating-fields-with-code/Peter
ModeratorHello Nick,
I'm afraid that it isn't possible. As I mentioned above, the column name in the custom table must match the field ID when you register/create the custom field. If you want to save data to separate custom table tables with one frontend form, you can create more field groups and add their IDs to the frontend shortcode.
[mb_frontend_form id='field-group_id_1,field-group_id_2,field-group_id_3' post_fields='title,content']Peter
ModeratorHello,
Please share your site admin account by submitting this contact form https://metabox.io/contact/
I will take a look.Peter
ModeratorHello,
I understand the issue. It is related to this topic https://support.metabox.io/topic/dynamically-populate-the-options-of-a-select-custom-field-base-on-global-cf/
you need to use the WordPress function get_option() to get the settings page value (like the theme option) when creating the custom field. At this point, the helper function rwmb_meta() doesn't work.
Here is an example
function test_function() { $options = get_option( 'custom-options' ); $value_a = $options['test_a']; $optionsA = array( '1' => 'Apple', '2' => 'Orange' ); $optionsB = array( '3' => 'Cat', '4' => 'Dog' ); return $value_a ? $optionsA : $optionsB; }If you use the builder, you will need to re-update the field group to update the choice for the field
test_b.Peter
ModeratorHello Johannes,
Thank you for your feedback.
I can reproduce the issue on my site and I've escalated the issue to the development team to fix this. I will get back to you when I have more information.
Peter
ModeratorHello,
Please ensure the option name is added to the helper function, and the separator should be underscore instead of dash. For example
custom_options$value_a = rwmb_meta( 'test_A', array( 'object_type' => 'setting' ), 'custom_options' );Following the documentation https://docs.metabox.io/extensions/mb-settings-page/#using-code
After you save the field test_a value, the
$optionsAwill be returned.Peter
ModeratorHello Nick,
If you want to use the existing table to store the field value, please follow the documentation https://docs.metabox.io/extensions/mb-custom-table/#using-existing-tables
notice the column name must match the field ID when you register/create the custom field.
-
AuthorPosts