Forum Replies Created
-
AuthorPosts
-
Long Nguyen
ModeratorHi,
The sub-menu ACF Migration appears when you
- Activate the plugin ACF
- Enable the extension MB ACF Migration in Meta Box > ExtensionsLong Nguyen
ModeratorHi Hernan,
You need to define the
post_typessetting when registering the meta box. For example:add_filter( 'rwmb_meta_boxes', 'prefix_register_meta_boxes' ); function prefix_register_meta_boxes( $meta_boxes ) { $meta_boxes[] = [ 'title' => 'Personal Information', 'post_types' => 'post-type-slug', //here 'id' => 'my-meta-box', 'fields' => [ ... ] ]; return $meta_boxes; }Read more on the documentation https://docs.metabox.io/creating-meta-boxes/#field-group-settings
Long Nguyen
ModeratorHi Philip,
You can use the WordPress function wp_set_post_terms() and hook to the action
rwmb_frontend_after_save_postto set a post term after submitting a post on the frontend.Read more on the documentation https://docs.metabox.io/extensions/mb-frontend-submission/#post-actions
Regarding the second question, Meta Box does not support upvoting posts like that.
Long Nguyen
ModeratorHi,
Thanks for your idea.
I'm going to create a feature request for the developer team to support keeping the form data on refreshing/reloading the page.
Long Nguyen
ModeratorHi,
There is no plugin that clones the post from a CPT to another CPT like that. But you can try to combine two plugins Duplicate Post and Post Type Switcher
https://wordpress.org/plugins/duplicate-post/
https://wordpress.org/plugins/post-type-switcher/Long Nguyen
ModeratorHi,
Thanks for your feedback.
I will inform the development team to consider supporting an integration plugin between MultilingualPress and Meta Box.
Long Nguyen
ModeratorHi,
Thanks for your feedback.
I will inform the development team to include the POT file in the plugin source code for the next update.
Long Nguyen
ModeratorHi,
This issue has been fixed in the new version 1.9.3.
Cheers,
Long Nguyen
ModeratorHi Evan,
There is a feature called User Posts Dashboard which supports a board that shows a list of posts submitted on the frontend. Please read more on the documentation https://docs.metabox.io/extensions/mb-frontend-submission/#user-posts-dashboard
Long Nguyen
ModeratorHi,
Can you please share your callback function
get_certifikat?Long Nguyen
ModeratorHi,
You can follow this topic to know how to change the username (user_login) by coding.
https://stackoverflow.com/questions/46972779/unable-to-update-an-username-in-wordpressLong Nguyen
ModeratorHi Dom,
It was fixed. You can try to use this sample code
add_action( 'init', function() { $option_name = 'my_option'; $field_id = 'my_field'; $value = 'My custom value'; rwmb_set_meta( $option_name, $field_id, $value, [ 'object_type' => 'setting' ] ); }, 99 );Refer to the documentation https://docs.metabox.io/rwmb-set-meta/#examples
Long Nguyen
ModeratorHi,
You can try to use this code
add_action( 'rwmb_retreat-guest-info_after_save_post', 'update_event_title' ); function update_event_title( $post_id ) { $first_name = rwmb_meta( 'customer_first_name', ['storage_type' => 'custom_table', 'table' => 'wp_retreat_guest_info'] , $post_id ); $last_name = rwmb_meta( 'customer_last_name', ['storage_type' => 'custom_table', 'table' => 'wp_retreat_guest_info'], $post_id ); $my_post = array( 'ID' => $post_id, 'post_title' => $first_name . '-' . $last_name ); wp_update_post( $my_post ); }January 13, 2022 at 10:30 PM in reply to: Is there a way to get metabox information within the args? #33210Long Nguyen
ModeratorHi,
Can you please give more info and code about your case? Does it relate to this topic?
https://support.metabox.io/topic/rwmb_meta-function-not-working/Long Nguyen
ModeratorHi,
Can you please share the PHP code that creates the fields on your site? And some screenshots of the View editor.
-
AuthorPosts