Forum Replies Created
-
AuthorPosts
-
November 4, 2020 at 3:29 PM in reply to: ✅front end submission dashboard with custom post type #22706
Long Nguyen
ModeratorHi,
Please share admin site account via this contact form https://metabox.io/contact/. I will check the Frontend Dashboard on your site.
November 4, 2020 at 10:25 AM in reply to: ✅front end submission dashboard with custom post type #22702Long Nguyen
ModeratorHi,
Please see my screen record https://share.getcloudapp.com/2NujQ1Jp. The Dashboard show the custom post type as well.
Long Nguyen
ModeratorHi Eddy,
When creating a new CPT, we can check the option Comments in the Supports box. See https://share.getcloudapp.com/GGurbPGN.
For the CPT and posts created before, we can also update this option but have to check the option Allow Comments when editing the post. See https://share.getcloudapp.com/geuqDxLJ.
Long Nguyen
ModeratorHi Scott,
Because the option Disable is checked so we cannot edit the field number. Please uncheck this option to edit the field.
November 3, 2020 at 3:36 PM in reply to: ✅front end submission dashboard with custom post type #22692Long Nguyen
ModeratorHi,
The value of the attribute
edit_pagemust be the page ID which has Frontend Form shortcode. We can get the page ID in the URL when editing the page, see my screenshot https://share.getcloudapp.com/JrugZwkA.The shortcode for the Frontend Dashboard should be:
[mb_frontend_dashboard edit_page="1925"]See more in the documentation https://docs.metabox.io/extensions/mb-frontend-submission/#user-posts-dashboard.
November 3, 2020 at 10:25 AM in reply to: ✅Is possible to create pages with a custom post type ? #22685Long Nguyen
ModeratorHi,
The page is a post type as other post types (default) of WordPress.
So I think the theme only supports showing/working with post type
pageinstead of other post types. Please contact the theme's supporter to ask for support post types in that layout.November 3, 2020 at 10:16 AM in reply to: ✅front end submission dashboard with custom post type #22684Long Nguyen
ModeratorHi,
To create the Frontend Dashboard for the post type, we have to add the attribute
post_typeto the Frontend Form shortcode.[mb_frontend_form post_fields="title,content" post_type="post-type-slug"]For more information, please follow the documentation https://docs.metabox.io/extensions/mb-frontend-submission/#shortcode-attributes.
November 3, 2020 at 10:02 AM in reply to: add_new for Taxonomy terms not adding terms before user hits publish #22683Long Nguyen
ModeratorHi,
Thank you for your reporting. I'm going to discuss with the developer team to cover this case.
Long Nguyen
ModeratorHi,
The extension MB Include Exclude applies for meta boxes only. To show/hide fields and meta boxes, please use the extension MB Conditional Logic.
To include/exclude meta boxes base on a select, it's very complicated and need AJAX to do without reloading page. I'm going to create a feature request for the developer team to support this case. Thank you.
Long Nguyen
ModeratorHi Jonathan,
This topic relates to this case https://support.metabox.io/topic/cant-save-more-of-10-relationships-from-admin/.
October 30, 2020 at 11:09 AM in reply to: wysiwyg field options not copying to new group item #22644Long Nguyen
ModeratorHi,
I'm going to check the code on my local site and let you know later.
October 29, 2020 at 10:39 AM in reply to: ✅New Field Added to Existing Group but Not Editable #22630Long Nguyen
ModeratorHi Scott,
Please create a staging site then share the admin site and FTP account to this contact form. I will check it out.
Long Nguyen
ModeratorHi,
The value returns when getting multiple choices is an array so we need to use two loops:
$multi_select = rwmb_meta( 'select_id' ); $select_settings = rwmb_get_field_settings( 'select_id' ); foreach ( $multi_select as $select_value ) { foreach ( $select_settings as $setting_key => $setting_value ) { if ( $setting_key == 'options' ) { echo $setting_value[$select_value]; } } }and the cloneable multiple choices returns an array of arrays:
$clone_multi_select = rwmb_meta( 'select_id' ); $select_settings = rwmb_get_field_settings( 'select_id' ); foreach ( $clone_multi_select as $clone_key => $clone ) { echo "Clone {$clone_key} :"; foreach ( $clone as $select_value ) { foreach ( $select_settings as $setting_key => $setting_value ) { if ( $setting_key == 'options' ) { echo $setting_value[$select_value]; } } } echo "<br>"; }Long Nguyen
ModeratorHi JC,
Please follow this topic to know how to get the custom field value in the Render Options.
https://support.metabox.io/topic/image-size-using-twig-block-builder/#post-22566.There are two cases:
- Custom field in the block: use the function mb_get_block_field().
- Custom field of the post which has the block: use the function rwmb_meta().
Long Nguyen
ModeratorHi,
In short, we can use the function rwmb_the_value() to show the label of the selected option. See more in this documentation https://docs.metabox.io/rwmb-the-value/.
-
AuthorPosts