Forum Replies Created
-
AuthorPosts
-
Anh Tran
KeymasterI see you use the folder
template-parts. It should be without it (probably you did it, but please try again), like in this screenshot:https://imgur.elightup.com/WpmyMVI.png
I've just tested and here is the result:
Anh Tran
KeymasterNo problem ๐
I've just sent you the refund. It's processed via Gumroad gateway, so you probably need to wait a little bit.
If you need anything else from me, or you want to try Meta Box extensions, please let me know. I'm happy to help.
Cheers
Anh Tran
KeymasterThat's totally fine. So you want a refund?
Anh Tran
KeymasterHello,
Yes, this plugin requires Meta Box plugin. Please activate the Meta Box plugin and the error will go away.
It works only with the custom fields created by the Meta Box plugin, not by Toolset or other custom fields plugin. Because we can use only the API provided by Meta Box to track the changes in the custom fields. Other plugins might don't have that API.
May 24, 2018 at 3:58 PM in reply to: โ wc products list into tabs using Meta box tab with MB Frontend Submission #9637Anh Tran
KeymasterHello,
Thanks for asking great questions:
1) Can you please post a screenshot of the broken layout? And perhaps the code that you use to create fields?
2) The submit button is for the whole form, so it's out of the tabs. To make it like switching tabs, I think the only way is using some custom JavaScript. Are you familiar with coding?
3) You can hook torwmb_frontend_after_processto run your own function which adds a product. Please see this docs for more info: https://docs.metabox.io/extensions/mb-frontend-submission/#form-actionsMay 24, 2018 at 3:49 PM in reply to: โ How to show specific field value based on another field value #9636Anh Tran
KeymasterHi Alisha,
Let me summarize your question: load a list of players based on the value of a team.
I think it's not possible, because the list of players need to be queried against the database to get the list of posts. And that should be updated instantly when you change the home team value. Sorry, but I can't find a quick solution for this yet.
Anh Tran
KeymasterHello,
The post title is displayed in the
post_fieldsattribute of the shortcode. Please use the MB Frontend Submission to add other fields to the form.In your situation, it sounds like changing the label for post title from "Post Title" to "Name".
So, please create a folder in your theme called
mb-frontend-submission. Inside that folder, create a sub-folder calledpost. And insidepost, create a filetitle.php, which contains the following code (don't worry, just copy and paste):<?php $title = $data->post_id ? get_post_field( 'post_title', $data->post_id ) : ''; $field = apply_filters( 'rwmb_frontend_post_title', array( 'type' => 'text', 'name' => esc_html__( 'Name', 'rwmb-frontend-submission' ), 'id' => 'post_title', 'std' => $title, ) ); $field = RWMB_Field::call( 'normalize', $field ); RWMB_Field::call( $field, 'admin_enqueue_scripts' ); RWMB_Field::call( 'show', $field, false, $data->post_id );That's it!
Please try and let me know how it works.
Anh Tran
KeymasterHello,
When you reorder meta boxes in the edit screen, the order is saved in the user meta called
meta-box-order_$posttype. So, to get that order, you need to run:$order = get_user_meta( get_current_user_id(), 'meta-box-order_yourposttype', true ); var_dump( $order );See this answer on WPSE for some other info:
Anh Tran
KeymasterHi,
This is very specific, so I think the only way to do that is via custom JavaScript.
- You listen on "change" event of the parent select
- Get the options' values you want to combine from 3 selects
- Update the list of options of a select field.
Without custom JavaScript, I can't think about another solution.
Anh Tran
KeymasterHi,
Unfortunately, the plugin hasn't supported multiple steps yet :(.
Anh Tran
KeymasterHi Dave,
I've done some work on this. I created a plugin called "MB Beaver Builder Integration" at:
https://github.com/wpmetabox/meta-box-beaver-themer-integrator
When you choose a field to connect to (like a heading field), you'll see Meta Box Field under the Posts group. And from there you can choose which field to insert. Please try and let me know how it goes.
Anh Tran
KeymasterHello,
It would be hard as the custom fields created by Meta Box needs to hook in to the
wp_insert_userto save the data. If you manually create the user, that code should happen before the form is processed. Let me see if I can provide a way to do that. Please wait.Anh
May 19, 2018 at 2:45 PM in reply to: โ User Meta won't save when submitted through gravity forms #9600Anh Tran
KeymasterHello,
Are you using the User Registration addon? Can you please send me a copy to check it via email [email protected]? I have only a copy of the core plugin, which doesn't have the user fields.
Anh Tran
KeymasterIt's fixed now. Please try again.
May 19, 2018 at 8:24 AM in reply to: โ Possible to get isolated address items for frontend display? #9597Anh Tran
KeymasterHello,
The address field is just a text field. While it's used to auto-suggest the map location, it acts like a normal text field. So you can just use the helper function to get its value and output it in the frontend.
-
AuthorPosts