Forum Replies Created
-
AuthorPosts
-
Peter
ModeratorHello,
1. You can create a custom validation function to validate URL on your own.
2. Use the validation URL with a custom message.
Please follow the documentation https://docs.metabox.io/validation/
Peter
ModeratorHello Tom,
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.
Peter
ModeratorHello,
Thank you for your feedback. This issue has been fixed in this commit https://github.com/wpmetabox/meta-box/commit/c75fb36eb72663a1175b0d2e3fe95b78bd53fc02
and it will be included in the next update of Meta Box.Peter
ModeratorHello Yasmine,
the $_POST no longer has data by the time I use my hook: add_action('save_post_research', 'manage_save_automations', 10, 3);How do you print out the $_POST variable to check if it has data? I use the sample code below and it prints out the value as well.
add_action( 'save_post_research', function( $post_id, $post, $update ) { echo "<pre>"; print_r( $_POST ); echo "</pre>"; die('12345'); }, 10, 3 );Peter
ModeratorHello,
There are no changes in the new version but we've updated the documentation to get the error when adding a new row.
https://docs.metabox.io/extensions/mb-custom-table/#addApril 22, 2024 at 8:14 PM in reply to: Metabox custom field + Oxygen custom blocks in Gutenberg block settings. #45274Peter
ModeratorHello Jeremy,
In case of using Oxygen Builder, please reach out to them if you have any issues with installation, configuration, compatibility, or usage.
Refer to our support policy https://metabox.io/support/topic/support-policy/If you want to display Meta Box fields in the block settings, please use the custom block from Meta Box. Please follow the documentation https://docs.metabox.io/extensions/mb-blocks/
Peter
ModeratorHello Yasmine,
I use the same code on my demo site and don't see the issue. Please add the code to a page template in a standard theme of WordPress without using your custom plugin/theme and recheck this issue.
$current_user = get_current_user_ID(); $post_ids = get_user_meta( $current_user, 'mbfp_posts', true ); $the_query = new WP_Query( [ 'post_type' => 'research', 'post__in' => $post_ids, 'posts_per_page' => -1, ]); // The Loop. if ( $the_query->have_posts() ) { echo '<ul>'; while ( $the_query->have_posts() ) { $the_query->the_post(); echo '<li>' . esc_html( get_the_title() ) . '</li>'; } echo '</ul>'; } wp_reset_postdata();April 20, 2024 at 2:18 PM in reply to: How can we hide the meta box fields for the page set as "Latest Posts"? #45271Peter
ModeratorHello,
If you use the builder, you can go to the Settings tab of the field group > Advanced location rules > Hide if Post: select the blog page, to exclude the field group from showing on the blog page.
Screenshot https://imgur.com/9d5xhg6Following the documentation https://docs.metabox.io/extensions/meta-box-include-exclude/
Peter
ModeratorHello AJ,
If you have a refund request, please contact us by submitting this contact form https://metabox.io/contact/
we will get in touch with you shortly.Peter
ModeratorHello Mark,
Please try to delete the current plugin, then download a fresh copy of Meta Box 5.7.9 from WordPress.org and re-install it on your site.
https://wordpress.org/plugins/meta-box/Let me know how it goes.
Peter
ModeratorThanks for sharing the solution.
Peter
ModeratorHello Yasmine,
you cannot add tabs within a group field type?Yes, correct. You can use the tab field as a top field. It doesn't work as a subfield in a group field.
Regarding the conditional logic issue, I already told you that the nested conditional logic doesn't work, in this topic https://support.metabox.io/topic/multiple-visibility-condition/?swcfpc=1
If you want to create a customization form with custom code, please contact us here https://metabox.io/contact/.
Peter
ModeratorHello Aaron,
Thanks for your feedback. Let me check the $attributes['name'] with the development team and I will get back to you later.
April 18, 2024 at 10:57 PM in reply to: ✅MB Frontend Submission with visitors (not logged-in user) #45257Peter
ModeratorHello,
does the visitors form can be used to change the post-id of another post to erase it?No. Only the author of the post can update their post in the frontend dashboard. Following the documentation https://docs.metabox.io/extensions/mb-frontend-submission/#user-dashboard
If you don't want to show the frontend form for the visitors, you can create a custom code to check the logged-in user and output the frontend form with the shortcode.
April 18, 2024 at 10:43 PM in reply to: ✅Issue with Meta Box v5.9.6 (layout issue for conditional fields) #45256Peter
ModeratorHello,
Please update Meta Box AIO to the new version 1.26.2, Meta Box 5.9.7 and check the issue again.
-
AuthorPosts