Forum Replies Created
-
AuthorPosts
-
Long Nguyen
ModeratorHi,
As I understand, you want to add an option for the field when editing the post/page. It is impossible, the field
autocompleteorselect_advancedonly supports to show the list options on the post/page which are predefined in the Builder.Long Nguyen
ModeratorHi,
The button "Today" helps you highlight the current date, so you still have to click the date to generate the date into the box. Please take a look at my screen record.
https://www.loom.com/share/e1d8e315f0c046efa4519f27c302dfe7Long Nguyen
ModeratorHi,
Could you please clarify the feature? Do you mean the search box on the editor like in the View or theme editor?
https://share.getcloudapp.com/yAu2ql9k
https://share.getcloudapp.com/yAu2qlnqLong Nguyen
ModeratorHi,
I've moved it to the MB Builder sub-forum, we can discuss more on this topic.
Currently, the extension MB Term Meta only supports to show the field on all terms of the taxonomy. I will create a feature request to support showing the field on specific terms, just like
'terms' => array( termID, or termSlug ).May 20, 2020 at 8:43 AM in reply to: ✅UI doesn't match behaviour described in documentation for MB Views #19697Long Nguyen
ModeratorHi,
An update has been released to cover this case. Let me know if you have any questions.
Long Nguyen
ModeratorHi,
Thank you, I’m going to create a feature request and assign for the developer team to show the line of the builder code to get the better experience.
Long Nguyen
ModeratorHi Steve,
The MB Builder support to add custom attributes for the field with the dot notation, so you can use it to format the date. Please follow the documentation
https://docs.metabox.io/extensions/meta-box-builder/#dot-notation
https://docs.metabox.io/fields/date/#sample-codeand see my screenshots
https://share.getcloudapp.com/BluZA5yA
https://share.getcloudapp.com/5zu1qGmyMay 19, 2020 at 9:16 AM in reply to: ✅Settings Pages + Conditional Logic breaks Oxygen editor widget functionality #19678Long Nguyen
ModeratorHi,
This is a new plugin page builder, so we need some days to research and check the compatible of this plugin and Meta Box.
I will inform you if there is any information.
Long Nguyen
ModeratorHi Steve,
Let me explain more about this case. There are some custom posts type have the same taxonomy name Category but have different slug, please see my screenshot https://share.getcloudapp.com/RBuv2NxG
Toys -> is the term of the taxonomy
– Action Figures -> is the child term of ToysSo if you show the field for taxonomy, it will display on all the term's setting page of the taxonomy. You can also take a look at my short screen record.
https://www.loom.com/share/3bad103f2bc3417580373491f513abccLong Nguyen
ModeratorHi Will,
The form #post still validates fields which have checked option Required in MB Builder, see my screenshots
https://share.getcloudapp.com/wbu0dAL2
https://share.getcloudapp.com/bLue28y9Regarding the field uses the input as a hidden field such as
image_advanced, thank you for pointing this out. I will discuss this with the developer team to create an update to cover this case.Long Nguyen
ModeratorHi,
Your code is missing close bracket
], please try again with this onefunction register_user_profile_fields($meta_boxes) { $prefix = 'user_profile_'; // fields $meta_boxes[] = [ 'id' => $prefix . 'edit_form_basic', 'title' => 'Your basic information', 'type' => 'user', 'fields' => [ // Email Address Field. [ 'id' => 'user_email', 'type' => 'email', 'name' => 'Email address', 'readonly' => ( wp_get_current_user()->user_email ) ? true : false, 'required' => true ], // Job Title Field. [ 'name' => 'Title (position)', 'id' => 'user_job_title', 'type' => 'text', 'required' => true ], // First Name Field. [ 'id' => 'first_name', 'name' => 'First name', 'type' => 'text', 'required' => true ], // Last Name Field. [ 'id' => 'last_name', 'name' => 'Last name', 'type' => 'text', ], // Phone Number Field. [ 'name' => 'Phone Number', 'id' => 'user_mobile', 'type' => 'tel', 'required' => true, ], // Gender Field [ 'name' => 'Gender', 'id' => 'user_gender', 'type' => 'radio', 'options' => [ 'Male' => 'male', 'Female' => 'Female', ], ], ], ]; return $meta_boxes; } add_action( 'rwmb_meta_boxes', 'register_user_profile_fields',2, 1);it works well on both front end and backend, see my screenshots
https://share.getcloudapp.com/8LujW9r4
https://share.getcloudapp.com/GGukb42LLong Nguyen
ModeratorHi,
You can use the option Post term list to show the listing term of the post in the tab Post, see my screenshot https://share.getcloudapp.com/z8ux9Oyg
Or use the function
get_the_terms()viambproxy to show the slug of the first term, here is the sample code{% set termList = mb.get_the_terms( post.ID, 'category' ) %} {{ termList[0].slug }}For more information, please follow the documentation.
https://developer.wordpress.org/reference/functions/get_the_terms/Long Nguyen
ModeratorHi,
In the Builder, it is impossible. By coding, you can easily generate the code of the Field Group and copy the code which created the field and paste to other places as you want. I also note this case and discuss with the developer team to support move/copy a field to other Field Groups.
Long Nguyen
ModeratorHi,
Thank you, I'm going to create a feature request and assign for the developer team to save the Field Group as a draft when switching to the tab Code without updating.
May 18, 2020 at 9:26 AM in reply to: ✅UI doesn't match behaviour described in documentation for MB Views #19652Long Nguyen
ModeratorHi,
Thank you, I will check it out and let you know later.
-
AuthorPosts