Forum Replies Created
-
AuthorPosts
-
September 22, 2022 at 11:11 AM in reply to: ✅Ajax Front End Form Submission - Form Disappears. #38381
Long Nguyen
ModeratorHi Nick,
Yes, from the new version, if the validation is passed then the form will be hidden. If the validation is not passed, the error message will appear as it should. If you want to show the form, please add the attribute
edit="true"to the shortcode.Long Nguyen
ModeratorHi,
It is possible, but this feature is available when using the field type
file. Please read more on the documentation https://docs.metabox.io/fields/file/Long Nguyen
ModeratorHi,
Currently, it is not possible. There is no option to restrict the file type when uploading with the field type
file_upload. You can use another field type likefile_advancedto use the WP media upload and filter hookupload_mimesto restrict file type.
Read more on the documentation https://developer.wordpress.org/reference/hooks/upload_mimes/
https://docs.metabox.io/fields/file-advanced/Long Nguyen
ModeratorHi,
You can follow this documentation to know how to load external view files in the theme/plugin folder https://docs.metabox.io/extensions/mb-views/#external-template-files
then edit the file with VS Code editor as well.Long Nguyen
ModeratorHi Arno,
Yes, you can share the admin site account again and some screenshots of the issue.
September 21, 2022 at 9:12 AM in reply to: ✅not saving to custom table with two custom field groups #38369Long Nguyen
ModeratorHi Martin,
Please update Meta Box extensions to the new version to resolve this issue. Let me know how it goes.
Long Nguyen
ModeratorHi,
The field
custom_HTMLactually is not a standard custom field, it only helps you to display HTML code in the meta box and does not save value to the database so it will not work with MB Views.In this case, you can use the action hook
rwmb_after_save_fieldto update a field value after saving the post. Please read more on the documentation https://docs.metabox.io/actions/rwmb-after-save-field/Refer to this topic https://support.metabox.io/topic/adding-post-id-as-a-field/
Long Nguyen
ModeratorHi,
As I mentioned above, if you want to set post terms, please use the field type
taxonomy. The field typetaxonomy_advancedsave the post meta like other custom fields, it does not set post terms.September 20, 2022 at 12:25 PM in reply to: Metabox plugin not displaying in administrator's desired language #38360Long Nguyen
ModeratorHi,
This issue relates to WordPress itself, not Meta Box only. You can try to go to User > Profile > Language > set the language to display for the user. It can be a different language from the site language Settings > General > Site Language.
Long Nguyen
ModeratorHi Yasmine,
Please update this extension to the new version 2.1.3 to resolve this issue. Let me know how it goes.
September 20, 2022 at 8:54 AM in reply to: ✅WPML translation of Meta Box Select and Checkbox field #38358Long Nguyen
ModeratorLet me know if you have any questions.
Long Nguyen
ModeratorHi,
Thanks, I understand the issue. The field type
taxonomydoes not work like a normal custom field, it does not save the value in the table wp_postmeta, it sets post terms. So if you want to use this field, please do not add it under a group as a subfield or save the field value to the custom table.Or use the field type
taxonomy_advancedto set the post meta. Please read more on the documentation
https://docs.metabox.io/fields/taxonomy/
https://docs.metabox.io/fields/taxonomy-advanced/Long Nguyen
ModeratorHi Patrick,
You can use the field type
postto display posts of CPT in the select box. Please read more on the documentation https://docs.metabox.io/fields/post/September 19, 2022 at 11:28 AM in reply to: ✅WPML translation of Meta Box Select and Checkbox field #38347Long Nguyen
ModeratorHi Arno,
What I mean is to register the custom fields by PHP code like custom post type, you can follow the documentation to get the PHP code and add it to the file functions.php in the theme/child theme or a custom plugin folder.
https://docs.metabox.io/extensions/meta-box-builder/#getting-php-code
Then you can use WPML to scan the translatable text with the text domain registered.Long Nguyen
ModeratorHi Eric,
Thanks for your feedback.
Our development team is checking the issue and get back to you later.
-
AuthorPosts