Forum Replies Created
-
AuthorPosts
-
Long Nguyen
ModeratorHi Cees,
Do you need to add more #1, #2, #3 items? If yes, you can create 3 cloneable fields
textareaorwysiwyg.If not, just create 3 fields
textareaorwysiwyg. It is based on your requirements.Long Nguyen
ModeratorHi,
Thanks for your feedback.
I will inform the development team to support excluding a field based on a condition. In case of using coding, you can try to use the filter
rwmb_meta_boxesto unset a field. Please get more details here https://docs.metabox.io/edit-meta-boxes/Long Nguyen
ModeratorHi,
You can try to use the field appearance filters, such as
rwmb_{$field_id}_outer_html. Then add a custom class to the field for a specific role and hide the field with simple CSS code.custom-class { display: none; }Please read more on this documentation https://docs.metabox.io/filters/#rwmb_outer_html
Long Nguyen
ModeratorHi,
You can use the field
fileto save the file uploaded in a custom folder and add a custom file name, please read more on the documentation https://docs.metabox.io/fields/file/Long Nguyen
ModeratorHi,
Thanks for your suggestion.
I will forward these to the development team to consider adding them to the plugin in future updates.
Long Nguyen
ModeratorHi,
Currently, it's not possible. I see you've created another topic about adding more filters to customize the models https://support.metabox.io/topic/custom-model-needs-additional-hooks-please/.
I think that after the filters are added, you can modify the primary column as well.
September 30, 2021 at 3:48 PM in reply to: Something is not right with the shortcode on page ID: #31089Long Nguyen
ModeratorHi,
Thanks for your feedback. But I think it's just the design of the development team to use the frontend dashboard. I've created a feature request for the development team to support this feature in future updates. You can also create your feedback in the public roadmap here https://trello.com/b/OCOz26GM/meta-boxs-public-roadmap
Thanks.
Long Nguyen
ModeratorHi,
If you do not change anything settings of current custom fields and meta box, just add new fields and tabs, the new fields and tabs will be imported as an update of the meta box (field group), and do not mess the current data.
By default, the custom field stored value in the default table of WordPress
wp_postmeta. In an advanced case, they could be stored in the custom table.Long Nguyen
ModeratorHi John,
The field
wysiwygis created in a meta box so you need to add the meta box ID to attributeidof the frontend submission shortcode to show the field. For example:$meta_boxes[] = [ 'title' => 'Test', 'post_types' => 'post', // Change 'post' to your custom post type. 'id' => 'my-meta-box', //meta box ID 'fields' => [ // Register a wysiwyg field of which the content is saved as post content. [ 'type' => 'wysiwyg', 'id' => 'content', // This is a must! 'name' => 'Fake content', 'std' => $post_content, ], ], ];[mb_frontend_form id="my-meta-box" post_fields="title"]Long Nguyen
ModeratorHi,
I think the "folder" should be the taxonomy and the user can upload a file or list of files in each post. You can also create "sub-folders" as well as child terms.
Long Nguyen
ModeratorHi,
Yes. To use all settings of Meta Box and extensions, I recommend using the code. You can also manage and customize custom blocks the way you want.
September 30, 2021 at 9:09 AM in reply to: Something is not right with the shortcode on page ID: #31081Long Nguyen
ModeratorHi,
There is no way with Meta Box for now. You can try to use another plugin like
https://wordpress.org/plugins/wp-user-frontend/
https://wordpress.org/plugins/user-submitted-posts/
But I'm not sure if it can work with Meta Box.Long Nguyen
ModeratorHi,
Field
imageallows uploading images only. You can use the fieldfileorvideoto upload videos. You can find the supported video formats of the fieldvideohere https://developer.wordpress.org/reference/functions/wp_get_video_extensions/September 29, 2021 at 9:37 PM in reply to: ✅Change the location of the custom fields in the taxonomy #31075Long Nguyen
ModeratorHi Martin,
It's really hard to change the priority of meta boxes with PHP code when editing the term. You can try to use the CSS code to re-order them. For example:
.wp-admin.taxonomy-product_cat form#edittag { display: flex; flex-wrap: wrap; } .wp-admin.taxonomy-product_cat .rank-math-metabox-wrap { order: 10; } .wp-admin.taxonomy-product_cat .edit-tag-actions { order: 15; } .wp-admin.taxonomy-product_cat .rwmb-meta-box { width: 100%; }Screenshot https://share.getcloudapp.com/04ux46r5
FYI,
contextsetting only works with the post meta box, it does not work with the term meta box.Long Nguyen
ModeratorHi Matija,
Please refer to this topic https://support.metabox.io/topic/how-to-render-block-preview-from-meta-box-builder/#post-31071
-
AuthorPosts