Forum Replies Created
-
AuthorPosts
-
Peter
ModeratorHello,
There is no permission to favorite a post. A visitor can also favorite a post as well. Following the documentation https://docs.metabox.io/extensions/mb-favorite-posts/
Peter
ModeratorHello Aaron,
The plugin MB Include Exclude supports including or excluding a field group on page loading. If you want to show/hide a field group based on the page template, please use MB Conditional Logic.
Please follow the documentation
https://docs.metabox.io/extensions/meta-box-conditional-logic/#toggle-by-other-elements
https://docs.metabox.io/extensions/meta-box-include-exclude/April 24, 2024 at 10:03 PM in reply to: ✅How to translate MB fields within a MB setting page (with WPML)? #45295Peter
ModeratorHello Adrien,
You can follow the topic below to create custom code to translate the custom fields on a settings page (like theme option)
https://support.metabox.io/topic/wmpl-how-to-translate-option-pages/The premium extensions of Meta Box are not compatible with WPML fully so there isn't an option to translate those fields by default.
April 24, 2024 at 9:46 PM in reply to: MB Block has post meta data and needs to refresh on page update #45292Peter
ModeratorHello,
If you output the post meta field in the block, it won't be triggered updating on save post. Currently, there isn't an option that supports this case. I will inform the development team to explore the possibility.
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.
-
AuthorPosts