Forum Replies Created
-
AuthorPosts
-
Long Nguyen
ModeratorHi,
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.
April 8, 2022 at 11:27 AM in reply to: ✅Block doesn't render on editor unless I fill some field data #35528Long Nguyen
ModeratorHi,
The extension MB Blocks only support rendering the block if it has at least one custom field. I will inform the development team to consider supporting this case.
Long Nguyen
ModeratorHi,
If you use the
textareafield, the users have to add the HTML tags manually to break lines. To customize thewysiwygfield like a textarea field, you can use the settingoptions. Screenshot https://monosnap.com/file/uV2pGYNTb7q5euAwBYx4RB0lSL9YXuRead more on the documentationhttps://docs.metabox.io/fields/wysiwyg/
Long Nguyen
ModeratorHi,
You can hook a function to the action
rwmb_frontend_before_submit_buttonto render the nonce field in the frontend form.Long Nguyen
ModeratorHi,
You can use add this code to the file functions.php in the theme/child theme folder to apply the custom CSS code in the admin area
add_action('admin_head', 'my_custom_css'); function my_custom_css() { echo '<style> .test-class-1 { background-color: red; } </style>'; }or use the plugin https://wordpress.org/plugins/admin-css-mu/ to apply the CSS code.
Long Nguyen
ModeratorHi,
Thanks for your feedback.
I've escalated this issue to the development team to cover the error in the next update. You can also follow this topic to troubleshoot the issue https://support.metabox.io/topic/fatal-error-2/
Long Nguyen
ModeratorHi,
You can use an MB action to update post data, for example
rwmb_{$meta_box_id}_after_save_post.add_action( 'rwmb_versionning_after_save_post', 'update_post_title' ); function update_post_title( $post_id ) { // Get the field value $my_meta = rwmb_meta( 'field_date_id', '', $post_id ); // Preprare update post $my_post = array( 'ID' => $post_id, 'post_date' => $my_meta, ); wp_update_post( $my_post ); }Refer to this topic https://support.metabox.io/topic/adding-metabox-field-data-to-the-post-title/#post-34119
and WP documentation https://developer.wordpress.org/reference/functions/wp_update_post/April 7, 2022 at 12:43 PM in reply to: ✅Textarea field not showing paragraphs and line breaks #35507Long Nguyen
ModeratorHi Yasmine,
You can add the HTML tag
<br>or newline character\nto break lines in the text area.Long Nguyen
ModeratorHi,
The function
strip_tags()allow passing 2 parameters but the sanitization callback passes 4 parameters so it will display the warning error. You need to create a custom callback to strip tags.Refer to this topic https://support.metabox.io/topic/custom-sanitization-in-group-subfields/#post-34323
Long Nguyen
ModeratorHi Cees,
Please click on the "x" button of the first tab to remove them. Let me know if it helped.
April 7, 2022 at 12:31 PM in reply to: ✅How to set auto login after a successfull registration page ? #35503Long Nguyen
ModeratorHi,
You can follow this topic to log in user with coding after registering successfully
https://wordpress.stackexchange.com/questions/337998/how-to-auto-login-after-registrationApril 7, 2022 at 12:23 PM in reply to: ✅How can my co-developer receive support for meta box? #35502Long Nguyen
ModeratorHi,
Only the customer who purchased our product will have the account to login to the support forum. If you don't want to share your account, you can tell him to create a ticket here https://metabox.io/contact/
or create a post on the MB group https://www.facebook.com/groups/metaboxusersApril 7, 2022 at 11:28 AM in reply to: ✅How to add eye in password field to peek the password #35501Long Nguyen
ModeratorHi,
The field
passworddoes not support a button to reveal the password. I will inform the development team to consider supporting this button in future updates.Long Nguyen
ModeratorHi,
The classes are used to style the custom fields in the backend or the frontend form in the frontend. If you want to style the field value on the frontend, please add the HTML tags with classes to style them. Or contact Oxygen support to ask for help with this case.
April 6, 2022 at 9:04 PM in reply to: Can you please add 'manually order' settings-pages Tabs? #35493Long Nguyen
ModeratorHi Cees,
Do you mean to support re-order the tabs of the settings page in the builder?
-
AuthorPosts