Forum Replies Created
-
AuthorPosts
-
Peter
ModeratorHello Hinnerk,
I'm afraid that it isn't possible. If you use the WordPress version < 5.9, please use the older version of Meta Box.
Peter
ModeratorThanks for your confirmation. It will be included in the next update of Meta Box.
Peter
ModeratorGenerally, you can go to admin area > Settings page and update the field value. If it needs to custom code for a specific case, then it is beyond our scope of support.
Peter
ModeratorHello,
I do not see the warning message on this post. Does it appear when the post does not have the image and text field value?
If not, please share your site credentials via this contact form https://metabox.io/contact/
I will take a look.Peter
ModeratorHello Fabio,
If the custom field "data_ora_inizio" saved value in a custom table, it isn't possible to order or get posts by that field value.
To get posts by custom fields in the custom table, you need to make an extra query to get the post IDs first. Then use these IDs to get full post objects.
Or get field value by a given post ID.Read more in the documentation
https://docs.metabox.io/extensions/mb-custom-table/#query-posts-with-wp_query
https://docs.metabox.io/extensions/mb-custom-table/#getting-field-valuePeter
ModeratorHello,
If you are using an MB custom block, then try to apply the fix in this commit
https://github.com/wpmetabox/meta-box/commit/2635f09fc634ce830a6c9d7e1164f86f26546a4cLet me know how it goes.
Peter
ModeratorHello Klaus,
How do you add/update the field value on the settings page? Do you use a custom code to do that? Please let me know more details of your case.
Peter
ModeratorHello Jack,
I see the conditional logic does not work from the second cloneable group field "Data Table". If I set the sub-group field "Table Rows" to not cloneable then the conditional logic works properly.
Can you please confirm this?
Peter
ModeratorHello,
Does the returned data from API have the format
'value' => 'Label'like the static data? Also, the value should be in lowercase, with no special characters. Read more in the documentation https://docs.metabox.io/fields/autocomplete/#settingsPeter
ModeratorHello,
You can create a
textfield (top field, not a subfield in a group) for the user with the field iduser_id> enable admin column for this field > edit a user > just click on Update user.
Then you will see the user ID field value displayed in the admin column (user management page).Peter
ModeratorHello,
Thanks for your feedback.
I've escalated this issue to the development team to fix it in the next update.
October 10, 2023 at 9:34 PM in reply to: How to sum the point fields of all arrays, theme php code #43488Peter
ModeratorHello,
You can use two PHP functions array_push() and array_sum() to sum the number field value in a cloneable group. For example:
$groups = rwmb_meta( 'group_point', [ 'object_type' => 'user' ], get_current_user_id() ); $total_points = []; foreach ( $groups as $key => $group ) { // Field number_point: array_push( $total_points, $group[ 'number_point' ] ); } echo array_sum( $total_points );October 10, 2023 at 9:11 PM in reply to: ✅From user to post not handling more that 10 connections #43487Peter
ModeratorHello,
You can use the option "Query args" in the builder to add the
numberquery args, screenshot https://monosnap.com/file/Krlq1sXWeCb0Xz3XPq9GjewcPXF237Read more in the documentation https://docs.metabox.io/extensions/mb-relationships/#using-meta-box-builder
Peter
ModeratorHello there,
Please check if some fields in the error message are available on your site or are in a group field: single_image_s62x74iq9cr, text_zz4zq41myna
Peter
ModeratorHello,
You can use the PHP code to check if the query var
rwmb_frontend_field_post_idis available and output a custom CSS code to hide the submit button. For example:add_action( 'rwmb_frontend_before_submit_button', function() { if( isset( $_GET['rwmb_frontend_field_post_id'] ) ) { ?> <style type="text/css"> .mbfs-form .rwmb-form-submit { display: none; } </style> <?php } }); -
AuthorPosts