Forum Replies Created
-
AuthorPosts
-
July 23, 2022 at 11:12 PM in reply to: ✅Update Post Meta after inline editing with admin columns pro #37153
Long Nguyen
ModeratorHi,
It's the feature (inline editing) of the plugin Admin Columns Pro and I recommend contacting ACP support to ask for help with this issue. They will know how the feature works and give a better solution.
Long Nguyen
ModeratorHi AJ,
The builder does not include the default features like MB Conditional Logic, you need to activate the additional plugin to use it in the builder.
- Advanced location rules: activate the plugin MB Include Exclude https://metabox.io/plugins/meta-box-include-exclude/?swcfpc=1
- Toggle rules: activate the plugin MB Show Hide https://metabox.io/plugins/meta-box-show-hide/?swcfpc=1
- Conditional Logic: activate the plugin MB Conditional Logic https://metabox.io/plugins/meta-box-conditional-logic/?swcfpc=1July 23, 2022 at 9:59 PM in reply to: ✅Can't get text field from settings to render inside a view #37150Long Nguyen
ModeratorHi,
I do not see any issue when getting the field value from the settings page and showing it on the frontend. Here is the screen record https://monosnap.com/file/870jDUF3AMJBS7EujcbupTFZAXLwfy
Long Nguyen
ModeratorHi,
I think no need to use the relationship if you only want to add the post title of the current post to the title of the submitted post. Just use the form hooks to modify the post title https://docs.metabox.io/extensions/mb-frontend-submission/#hooks-1
If you want to set a relationship between the submitted post and the current post which display the frontend form, please follow this topic https://support.metabox.io/topic/auto-relationship-on-form-submission/
Remember to create a relationship between two post types before implementing the code.July 23, 2022 at 6:29 PM in reply to: ✅Update - Combine Custom Post With Details from another Post Type #37142Long Nguyen
ModeratorHi,
1. There is no option to change the meta box label "info" of the password form. I will inform the development team to consider supporting a filter hook to change this text.
2. You can create other field groups (meta boxes) with blank titles and add these meta box IDs to the profile form. Please read more here https://docs.metabox.io/extensions/mb-user-profile/#edit-profile-form
[mb_user_profile_info id="meta-box-id1,meta-box-id2,meta-box-id3"]3. Please upload your image/screenshot to shared hosting, for example https://imgur.com/, and share the image URL in your reply.
Long Nguyen
ModeratorHi,
You can try to use this code to update the field map with the format
latitude,longitudevalue.add_action( 'rwmb_osm_after_save_field', function ( $null, $field, $new, $old, $object_id ) { // Get the submitted map address and remove the "zoom" value $map = explode( ',', $_POST['osm'] ); unset( $map[2] ); $map = join( ',', $map ); // Update field map value without "zoom" update_post_meta( $object_id, 'osm', $map ); }, 10, 5 );Remember to change
osmto your field map ID.Long Nguyen
ModeratorHi Thomas,
If the field is registered in the block, please use the helper function
mb_get_block_field()to get the field value. Read more on the documentation https://docs.metabox.io/extensions/mb-blocks/#render_callback<h3>{{ mb.mb_get_block_field( 'office' ) }}</h3>If the field is registered as the post meta, please use the helper function
rwmb_meta()to get the field value. Read more on the documentation https://docs.metabox.io/functions/rwmb-meta/<h3>{{ mb.rwmb_meta( 'office', '', post_id ) }}</h3>July 22, 2022 at 4:18 PM in reply to: Are sortable, cloneable groups with cloneable fields supported yet? #37128Long Nguyen
ModeratorHi Tim,
The cloneable group is working with Elementor in the new update. Please follow this guide to get more details
https://www.youtube.com/watch?v=2mJoa-JMz-kJuly 22, 2022 at 12:57 PM in reply to: ✅Can't get text field from settings to render inside a view #37124Long Nguyen
ModeratorHi,
Please refer to this documentation to get the PHP code https://docs.metabox.io/extensions/meta-box-builder/#getting-php-code
July 22, 2022 at 12:56 PM in reply to: ✅Finetune the position of field groups in the Gutenberg editor #37122Long Nguyen
ModeratorHi,
The option to sort, drag and drop meta boxes is a standard feature of WordPress from version 5.5.0. and Meta Box also does not handle this. You can also follow this topic to get more details https://wordpress.org/support/topic/remove-new-meta-box-arrows/
Long Nguyen
ModeratorHi,
Thanks for your feedback.
It looks like the required field is located in a collapsed group or a tab. So the warning text does not display in the wrapper element. I will inform the development team to consider supporting this case in future updates.
Long Nguyen
ModeratorHi,
I think when outputting the view content, the variable post type is rendered also. But when assigning to a variable, it is just the string
{{post:type}}and does not match in the if statement. If it is too complicated in this case, please use the hardcoded post type string.July 21, 2022 at 11:00 PM in reply to: ✅Can't get text field from settings to render inside a view #37109Long Nguyen
ModeratorHi,
Can you please share the code that creates the settings page and custom fields on your site? I do not see any issue when showing a text value of a settings page with the view.
July 21, 2022 at 10:56 PM in reply to: ✅How to load / use Custom Fields created by ACF in MB Views #37108Long Nguyen
ModeratorHi,
Both Meta Box and ACF custom fields save values in the table
wp_postmetafor regular fields, so in this case, you can use the WordPress functionget_post_meta()to get/display the field value in View{{ mb.get_post_meta( post.ID, 'office_address' ) }}Read more on the documentation
https://developer.wordpress.org/reference/functions/get_post_meta/
https://docs.metabox.io/extensions/mb-views/#running-php-functionsLong Nguyen
ModeratorHi Timo,
Please share the staging site credentials and some screenshots of the issue via the contact form. I will take a closer look.
-
AuthorPosts