Forum Replies Created
-
AuthorPosts
-
Peter
ModeratorHello,
Please update Meta Box AIO plugin to the new version 1.30.5 and check this issue again. Let me know how it goes.
Peter
ModeratorHello,
Please update Meta Box AIO plugin to the new version 1.30.5 and check this issue again. Let me know how it goes.
Peter
ModeratorHello Dave,
If it is one field, you can separate the field into another field group and register it with code.
Or use the conditional logic, create a custom callback to check the admin area and add it to the logic setting. Please follow the documentation https://docs.metabox.io/extensions/meta-box-conditional-logic/#custom-callback
November 6, 2024 at 10:07 PM in reply to: Rich text formatting stopped working in cloneable group from last one week. #46862Peter
ModeratorThanks for your feedback.
I can reproduce the issue on my site and I've escalated this to the development team. It should be fixed in the next update of our plugins.
Peter
ModeratorHello Jayron,
You can filter posts by a field value by using the arguments
meta_keyandmeta_valuein the query args option. Please check this screenshot https://imgur.com/yFXnr4K
and follow the WordPress documentation https://developer.wordpress.org/reference/classes/wp_query/#custom-field-post-meta-parametersLet me know how it goes.
Peter
ModeratorHello,
Thank you for your feedback.
The development team is aware of the issue with Plural and Singular names of the CPT and working on it. It will be included in the next update of our plugins.
Peter
ModeratorHello Roel,
Thanks for your feedback.
I recheck this case when using the image field, saving the image in a custom folder and field value in a custom table, the helper function rwmb_meta() doesn't return the correct value.
I suggest you use an SQL query to get the field value instead of using the helper function. For example:global $wpdb; $post_id = get_the_ID(); $images = $wpdb->get_col( "SELECT image FROM my_custom_table WHERE ID = $post_id" ); foreach ( $images as $key => $image ) { $image = maybe_unserialize( $image ); $image = array_pop( $image ); echo '<img src="' . $image . '" />'; }imageis the field ID,my_custom_tableis the custom table name.Peter
ModeratorHello Dave,
You can use the code to register the meta box and custom fields, then use the WordPress function is_admin() to check if the current screen isn't in the admin area and register the fields. Here is an example https://support.metabox.io/topic/rwmb_frontend_validate-and-empty-id-in-config/#post-46359
if ( ! is_admin() ) { $meta_boxes[] = [ 'title' => 'Filter Products', 'post_types' => 'product', 'id' => 'filter-products', 'context' => 'normal', 'fields' => ............... ]; }Refer to the documentation https://docs.metabox.io/creating-fields-with-code/
November 5, 2024 at 9:19 PM in reply to: ✅How to prevent the removal of HTML entities / special characters? #46847Peter
ModeratorHello Juergen,
Please try to bypass the sanitization and add the HTML tag/entities to the field again. Following the documentation https://docs.metabox.io/sanitization/#bypass-the-sanitization
Let me know how it goes.
November 5, 2024 at 9:05 PM in reply to: ✅Need Help with Custom Field Issue After Metabox Update #46846Peter
ModeratorHello Gagan,
You can try to follow this tutorial to increase the PHP setting
max_input_varsto fix the issue
https://metabox.io/wordpress-custom-fields-not-saving-increase-max-input-vars/Let me know how it goes.
November 5, 2024 at 9:03 PM in reply to: Rich text formatting stopped working in cloneable group from last one week. #46845Peter
ModeratorHello,
I test to create a cloneable group and a WYSIWYG field on my demo site, add the value like that in the admin area and output the value in the frontend but don't see that issue. Please check this screenshot https://imgur.com/nAYN6rP
Please share some screenshots of the field value in the admin area and the code that you use to output the field value. Or do you use a page builder to output the field value?
Peter
ModeratorHello Tom and seaj1one,
Thank you for the feedback. I've informed the development team to clear the cache of the changelog page automatically. It will be implemented soon.
November 5, 2024 at 8:28 PM in reply to: error in WPCodebox2 but not in Bricksbuilder fontend. #46843Peter
ModeratorHello,
Maybe the issue happens when you use the regex function but the function
rwmb_get_value()returns an empty value. You should check the value isn't empty before executing the regex function.
Besides that, it isn't an issue of Meta Box itself so if you still have an issue when using the regex function, please contact an expert developer to help you in this case.November 5, 2024 at 8:18 PM in reply to: ℹ️Automatically disable "Create custom table" after creating. #46842Peter
ModeratorHello Roel,
Thank you for your feedback.
After the custom table is created, you can manually disable the option "Create table automatically" to reduce database queries that arise from this option.
I will inform the development team to consider supporting a feature to disable this option after the custom table is created.
Peter
ModeratorHello,
Thank you for your feedback.
The development team is aware of the issue with Plural and Singular names of the CPT and working on it. It will be included in the next update of our plugins.
-
AuthorPosts