Forum Replies Created
-
AuthorPosts
-
Long Nguyen
ModeratorHi Buxroll,
Thank you for reaching out.
If this is the first time you use Meta Box, I recommend following the documentation to know how to create custom fields and display their value on the frontend. You also should have a basic knowledge of PHP, HTML, CSS code to use full features of Meta Box.
https://docs.metabox.io/creating-meta-boxes/For the audio file upload, you can warp the field value in the
<audio>tag. See more here https://www.w3schools.com/tags/tag_audio.aspLong Nguyen
ModeratorHi Patrick,
Thank you for your feedback.
The frontend dashboard allows the users to edit their posts on the frontend. If you do not want to allow editing posts for some specific users, please don't give them access to this page. This plugin might help you to do that https://wordpress.org/plugins/restrict-user-access/.
Long Nguyen
ModeratorHi Jugibur,
Thank you for your feedback.
I'm going to inform the development team to take a look at this case. They will explore the possibility.
May 5, 2021 at 10:08 PM in reply to: ✅How can I mannually save uploaded image or file before redirect #27946Long Nguyen
ModeratorHi Calpaq,
If you want to save the file upload in a custom folder, please use the field type file. If you want to do something before saving the post, please take a look at some hooks of the frontend form https://docs.metabox.io/extensions/mb-frontend-submission/#hooks-1
I hope that helps you with your case.
Long Nguyen
ModeratorHi,
Please check my two replies: #27897 and #27917.
You have to add the attribute
post_typeto the shortcode Frontend Form mb_frontend_form if you want to make the shortcode Frontend Dashboard edit the post typespeaker-profile.On the page 1819:
[mb_frontend_form post_fields="title,content" post_type="speaker-profile"]On the page 1863:
[mb_frontend_dashboard edit_page="1819"]Long Nguyen
ModeratorHi Patrick,
I'm sorry about this situation. But can you please make sure that the
post_typeattribute is added to the shortcode frontend submit?[mb_frontend_form post_fields="title,content" post_type="speaker-profile"]I see that in your reply, the value
speaker-profileis assigned to the attributeid, not the attributepost_type[mb_frontend_form id="speaker-profile"]If it still does not work, please share your site credentials via this contact form https://metabox.io/contact/, I will help you to check it.
Long Nguyen
ModeratorHi Kywong,
I'm afraid it is beyond the support of Meta Box. Meta Box doesn't handle all the Woo forms. The plugin works only with fields that are created by Meta Box. You can use another plugin that supports customize Woo checkout form https://wordpress.org/plugins/woo-checkout-field-editor-pro/
Long Nguyen
ModeratorHi,
You can try to use some plugin support frontend posts like WP User Frontend or Frontend Publishing Pro.
Long Nguyen
ModeratorHi,
Thanks for your additional information.
If you are using the Elementor page builder, please use another image field such as single_image. The field type
image_selectsaves the valueimage01orimage02in the database instead of image ID, so the Elementor cannot render the image based on that value.Get more details on the documentation https://docs.metabox.io/fields/image-select/#data
Long Nguyen
ModeratorHi Igor,
The field type
groupis used to store value, not for querying. We do not encourage to query by subfields in a group due to it's very difficult and complicated. Please get more information on these articles
https://metabox.io/create-group-of-custom-fields-with-meta-box-group/
https://metabox.io/searchwp-metabox-integration/Long Nguyen
ModeratorHi Nuno,
The meta boxes and custom fields must be assigned to a post. WordPress allows them to save in the database as metadata (post meta) so it is meaningless when not assigned to a post. Get more details on the documentation https://wordpress.org/support/article/custom-fields/
May 5, 2021 at 9:07 AM in reply to: ✅How can I mannually save uploaded image or file before redirect #27918Long Nguyen
ModeratorHi Calpaq,
Can you please give more details? Do you want to allow users to upload images without creating a post?
Long Nguyen
ModeratorHi Patrick,
Frontend Submit shortcode attributes:
id: is the meta box ID, if you do not assign a meta box ID to this post type, please remove it.
post_type: is the slug of your post typespeaker-profileor you can change topage. You have to add this setting if you want to make the shortcode Frontend Dashboard edit this post type.[mb_frontend_form post_fields="title,content" post_type="speaker-profile"]Please read more on the documentation https://docs.metabox.io/extensions/mb-frontend-submission/
May 5, 2021 at 6:28 AM in reply to: ✅How to make a pdf upload field automatically display the pdf #27916Long Nguyen
ModeratorHi Alan,
Did you add the code to the file post template (.php)? Or change the code to
echo do_shortcode("[pdf-embedder url={$url}]");Long Nguyen
ModeratorHi Felipe,
That was not a bug. The field type image_advanced has the setting
'multiple' => truewhich means the value is saved in the database as a serialized array, not only one attachment ID as featured image. You can use the field type single_image instead of and refer to this topic to replace the default featured image box with a custom field.
https://support.metabox.io/topic/single-image-field-with-the-id-_thumbnail_id-is-not-showing-after-latest-updates/ -
AuthorPosts