Forum Replies Created
-
AuthorPosts
-
September 16, 2021 at 11:16 AM in reply to: Creating Signature Field for MB Frontend Submission #30790
Long Nguyen
ModeratorHi,
Thanks for your feedback.
Meta Box does not support a Signature field type. I will inform the development team to consider adding it to the to-do list for future development of the plugin.
Another way, you can offer the users to upload their signature file or image when submitting the form.
September 16, 2021 at 10:33 AM in reply to: Show Group in a repeater in oxygen from settings page. #30789Long Nguyen
ModeratorHi,
You can try to create a custom shortcode then add it to the Oxygen builder. Please refer to this documentation https://docs.metabox.io/extensions/meta-box-group/#outputing-group-with-page-builders
Long Nguyen
ModeratorHi,
I do not see any issue with your code on my end. Where did you add the code? Is it in a template of the theme?
You can try to add the argument
post_typeto the query and use this functionwp_reset_postdatato reset query data. https://developer.wordpress.org/reference/functions/wp_reset_postdata/$connected = new WP_Query( [ 'post_type' => 'client', 'relationship' => [ 'id' => 'client_to_assignment', 'to' => get_current_user_id(), // You can pass object ID or full object ], 'nopaging' => true, ] ); while ( $connected->have_posts() ) : $connected->the_post(); echo $connected->post->ID; ?> <a href="<?php the_permalink(); ?>"><?php the_title(); ?></a> <?php endwhile; wp_reset_postdata();Long Nguyen
ModeratorHi Ian,
Now you can create custom fields with MB Builder instead of typing code. Please get more details on this documentation https://docs.metabox.io/creating-meta-boxes/
Long Nguyen
ModeratorHi,
Thanks for your feedback.
I will inform the development team to check this issue and get back to you later.
September 15, 2021 at 12:45 PM in reply to: post_title and post_content empty after editing post with MB front end form #30776Long Nguyen
ModeratorHi Tako,
Thanks for following up.
This issue is on the queue and the developer team is working on it. It will be fixed as soon as possible.
Long Nguyen
ModeratorHi Kirb,
The
mapfield is a sub-field in a group, isn't it? You can follow this topic to know how to render map field in a group with PHP code https://support.metabox.io/topic/google-maps-using-default-api-key-mb-settings-page-with-meta-box-groups/Long Nguyen
ModeratorHi Martin,
I think it is a WordPress-related question, Meta Box does not support re-order the default fields of users in the backend. This topic might help you to re-order those fields by coding https://wordpress.stackexchange.com/questions/60420/add-and-remove-fields-in-profile-page
If you want to re-order default fields on the frontend, please follow this documentation https://docs.metabox.io/extensions/mb-user-profile/#edit-default-fields
September 15, 2021 at 9:15 AM in reply to: Metabox settings page / color picker / css variables / Oxygen #30772Long Nguyen
ModeratorHi,
Thanks, you can do the same with Meta Box. Creating a settings page with custom fields, replace the code from ACF
$primary_color = get_field( 'primary_color', 'option' );by this code
$primary_color = rwmb_meta( 'primary_color', ['object_type' => 'setting'], 'your-option-name');Get more details on this documentation https://docs.metabox.io/extensions/mb-settings-page/
Long Nguyen
ModeratorHi,
On the user profile page, I see a box to select the
clientpost, so this relationship works as expected. There is another box to selectuser, it might come from another relationship or other codes/plugins.Then, to get users connected to a post, you need to pass the post ID to the args.
$users = get_users( [ 'relationship' => [ 'id' => 'client_to_assignment', 'from' => 123, // You can pass object ID or full object ], ] );and get posts connected to a user, but make sure that the user has posts connected.
$connected = new WP_Query( [ 'relationship' => [ 'id' => 'client_to_assignment', 'to' => get_current_user_id(), // You can pass object ID or full object ], 'nopaging' => true, ] );Long Nguyen
ModeratorHi,
Please follow this documentation to know how to re-order post fields https://docs.metabox.io/extensions/mb-frontend-submission/#reorder-post-fields
September 14, 2021 at 10:04 PM in reply to: ✅Use a field value to update Group Title before submit #30760Long Nguyen
ModeratorHi James,
Please follow this documentation to add the subfield value to the group title https://docs.metabox.io/extensions/meta-box-group/#collapsible-groups
Long Nguyen
ModeratorHi Martin,
-
Can you please clarify the question or share some screenshots of it?
-
No, the View works as theme templates. You should use it on the frontend.
Long Nguyen
ModeratorHi Kirb,
Please use the helper function in View to render the map with your API key instead of using the Insert Fields section.
{{ mb.rwmb_meta( 'google_map' ) }}Refer to this topic https://support.metabox.io/topic/google-maps-not-reading-api-key-from-meta-box-builder/
Long Nguyen
ModeratorHi,
You need to add a sub-menu
SONNTAGSMEDITATIONof the parent menuVeranstaltungento use the feature "current parent page" for the menu items of WordPress. Screenshot https://share.getcloudapp.com/p9ukYND8 -
-
AuthorPosts