Forum Replies Created
-
AuthorPosts
-
Peter
ModeratorHello,
If you don't want to use custom code, please try to use the solution MB Favorite Posts
https://metabox.io/plugins/mb-favorite-posts/and read more about this plugin in the documentation https://docs.metabox.io/extensions/mb-favorite-posts/
Peter
ModeratorHello,
You should remove the single quote in the key box and put 9 in the value box, like this https://imgur.com/SHg0Rxv
Refer to the documentation https://docs.metabox.io/extensions/meta-box-builder/#custom-settings
July 17, 2023 at 6:06 PM in reply to: ✅Switched from Builder to Code and Now Relationship Doesn't Show #42600Peter
ModeratorHello,
In the builder, you can use the dot notation or JSON notation to pass an array to query args. Read more in the documentation https://docs.metabox.io/extensions/meta-box-builder/#dot-notation
Peter
ModeratorHello,
Meta Box does not support tracking the user time in/out, location or other activities. You may use a member plugin to have that feature.
Peter
ModeratorHello,
MB Builder will use a parser to convert settings in JSON files to a field group and save it as a post type, not with just the WordPress function wp_insert_post().
July 17, 2023 at 5:47 PM in reply to: ✅Issue with disappearing data in metabox.io custom fields #42597Peter
ModeratorHello,
It might be related to the new version of the builder to change that option from checkbox to switch, I think. Anyways, thanks for your confirmation.
Peter
ModeratorHello,
Yes, using the filter
rwmb_subfieldID_wrapper_htmlorcustom_htmlfield, you need to add the close tags for all open tags. Only the field settingsbeforeandaftercan support your case.July 15, 2023 at 3:53 PM in reply to: ✅Switched from Builder to Code and Now Relationship Doesn't Show #42585Peter
ModeratorHello,
You can find the relationship in the builder by going to Meta Box > Relationships. Or find the item in the table
wp_postswith post typemb-relationship.Regarding your second question, what is the taxonomy query vars in your case?
July 15, 2023 at 3:45 PM in reply to: Relationships + FE Submission: Trying to create relationship programmatically #42584Peter
ModeratorHello,
If this code
add_action( 'rwmb_frontend_after_process', function( $config, $post_id ) { MB_Relationships_API::add( 123, 456, 'projects_to_updates' ); }, 10, 2 );still does not work, please try to deactivate all plugins except Meta Box, MB extension plugins and switch to a standard theme of WordPress then check this issue again.
Peter
ModeratorHello,
In case of using Bricks Builder, please reach out to them if you have any issues with installation, configuration, compatibility, or usage.
Refer to our support policy https://metabox.io/support/topic/support-policy/July 15, 2023 at 3:38 PM in reply to: ✅Issue with disappearing data in metabox.io custom fields #42582Peter
ModeratorHello,
Can you please check the option "Save field value" of all fields in the field group? I see it is disabled in your screen record and you only enable it for one field "Referent FS".
Peter
ModeratorHello,
This issue has been noticed by the development team and they are working on it. It will be included in the next update of Meta Box.
Thanks for your patience.
July 14, 2023 at 7:47 PM in reply to: Relationships + FE Submission: Trying to create relationship programmatically #42569Peter
ModeratorHello,
I think you can try a few things below:
2b. Change
'publicly_queryable' => true5b. Change the shortcode to this
[mb_frontend_form ajax="true" id="update-fields-group" post_fields="title" post_type="update"]If it still does not work, please add some existing IDs to the code and see if the relationship is created
add_action( 'rwmb_frontend_after_process', function( $config, $post_id ) { MB_Relationships_API::add( 123, 456, 'projects_to_updates' ); }, 10, 2 );where 123 is a
projectpost ID, 456 is aupdatepost ID.July 14, 2023 at 7:30 PM in reply to: How To: Automatically Delete a Group Clone After an Expiration Date? #42568Peter
ModeratorHello,
I think it is possible. You can use the WordPress function delete_post_meta() to delete a field value.
Or get the field value, put it into a loop and delete the last element of the cloneable and re-update the field value with update_post_meta().
It would need some custom code to do and beyond our scope of support. If you are not able to complete the task, please contact us here https://metabox.io/contact/, our development team will help you with some extra fee.
Peter
ModeratorHello,
Currently, MB Builder does not support auto-import JSON files. You need to import them manually to your site.
-
AuthorPosts