Forum Replies Created
-
AuthorPosts
-
Peter
ModeratorHello,
Thanks for your feedback. I will forward it to the development team to consider supporting this feature in future updates.
Peter
ModeratorYes,
textareais a proper field to add the HTML code. You can also take a look at the sanitization and bypassing it https://docs.metabox.io/sanitization/Peter
ModeratorHello Brandon,
The admin column feature for the relationship is separate and there isn't a filter/action hook to modify this column. You can take a look at the file wp-content/plugins/mb-relationships/inc/relationship/admin-columns.php
Peter
ModeratorHello Fabio,
Can you please share some screenshots of the View content and settings (full screen)?
October 5, 2023 at 9:37 PM in reply to: ✅Field type "POST" that returns post of a custom type created by the same user #43433Peter
ModeratorHello,
You can use the code to register the field and get the current user then assign it to the setting
query_args. For example:add_filter( 'rwmb_meta_boxes', 'callback_function' ); function callback_function( $meta_boxes ) { $current_user_id = get_current_user_id(); $meta_boxes[] = [ 'title' => __( 'My Custom Fields', 'your-text-domain' ), 'id' => 'my_custom_fields', 'post_types' => ['post'], 'fields' => [ [ 'id' => 'funnel_post', 'title' => 'Funnel Post', 'type' => 'post', 'post_type' => 'funnel', 'query_args' => [ 'author' => $current_user_id, ], ], ], ]; return $meta_boxes; }Refer documentation https://docs.metabox.io/fields/post/
https://developer.wordpress.org/reference/classes/wp_query/#author-parametersPeter
ModeratorHello,
If the code is saved properly, you should contact Bricks support if it is not outputted in the front end.
October 5, 2023 at 8:48 PM in reply to: ✅issue using rwmb_frontend_dashboard_delete_action filter to remove delete icon #43428Peter
ModeratorHello,
Yes, it is fixed in the new version of MB Frontend Submission or Meta Box AIO.
October 4, 2023 at 9:33 PM in reply to: Linking Two Custom Post Types in select/dropdown field #43422Peter
ModeratorHello,
It isn't possible with the builder. You can follow the documentation below to create a custom field type (select field) for the "selectable list of the contacts particular to the selected customer".
https://docs.metabox.io/creating-new-field-types/October 3, 2023 at 6:44 PM in reply to: Linking Two Custom Post Types in select/dropdown field #43419Peter
ModeratorHello Lee,
In the frontend, you can create custom code to show which Customer is associated with the contact and show which Order has that customer field value. There should be 2 nested loops in this case.
Peter
ModeratorHello,
The field custom HTML does not need the field ID. It used to display some extra content in the meta box. I will inform the development team to remove the field ID of this field.
Peter
ModeratorHello,
I think the filter hook is running before the Meta Box hook so it does not work with the CPT. You can use the Sanitization feature to strip HTML tags in the field value.
https://docs.metabox.io/sanitization/October 2, 2023 at 10:02 PM in reply to: Deprecated and problem with date picker in wordpress page editor #43412Peter
ModeratorHello,
If you remove the datetime field from the field group, do you see the deprecated message? I also do not see the Violation message relates to this field on my demo site.
Peter
ModeratorYes, the form is removed by JS code so there isn't a hook to modify that behavior.
Peter
ModeratorHello,
Please try again with the plugin Classic Editor https://wordpress.org/plugins/classic-editor/
Let me know how it goes.
Peter
ModeratorHello,
You can try to follow this tutorial to increase the PHP setting
max_input_varsto fix the issue
https://metabox.io/wordpress-custom-fields-not-saving-increase-max-input-vars/Let me know how it goes.
-
AuthorPosts