Forum Replies Created
-
AuthorPosts
-
Anh Tran
KeymasterOops, the Default value is missed from the Builder. I'll fix it asap. In the mean time, you can set via custom attribute. Just set the key to
stdand the value to ID of the category:https://imgur.elightup.com/8xep7GQ.png
To get the category ID, see this screenshot:
Anh Tran
KeymasterHi Dave,
Currently the Meta Box doesn't have custom CSS class and ID. Because the wrapper HTML is controlled by WordPress, the plugin can handle only the inner HTML. Can I ask what do you need it for?
Anh Tran
KeymasterHi,
To assign a fixed value to the category, use the taxonomy field. And set the default value (
stdparameter) to the category ID. Then that default value will be used when you submit the form.In order to hide the field, just add a custom CSS class to the field (like
hidden) and add this line into your theme, or in Customizer > Additional CSS:.hidden { display: none; }That's it. Please try and let me know how it goes.
Anh Tran
KeymasterHi oome,
Can you post a screenshot of non-matching style? We have tried to make all the style follow WP style.
Anh Tran
KeymasterOh, that's a nice idea. Let me try it.
Anh Tran
KeymasterI've checked on your site and I see you created a field with ID
post_title. But as it's a field in a meta box, it can't be a post field.To add post field, you need to change the shortcode to:
[mb_frontend_form id="dominantgegevens,diensten" post_fields="title"]And the template for post title now works.
Just a note: post fields (such as post title, editor, thumbnail, etc.) are not part of meta boxes, so you can't wrap it in tabs. They will appear above the tabs.
Here is the screenshot of the page:
Anh Tran
KeymasterHello,
You can add tooltip via Custom Attributes. Please go to Advanced tab, click "+ Attribute" button under Custom Attributes and add key = 'tooltip', value = tooltip text. If you want to use a custom icon for tooltip, add 3 attributes:
- Key: tooltip.icon, value: dashicon icon or URL of the icon. See list of dashicons here https://developer.wordpress.org/resource/dashicons/
- Key: tooltip.content, value: the content of the tooltip
- Key: tooltip.position, value: left|right|top|bottom (one of them) to specify the position of the tooltip. It's optional.
Please try it and let me know if you need any help further.
Anh Tran
KeymasterIn the Builder, please select the “HTML image” field.
Anh Tran
KeymasterYes, please send me a temporary account to [email protected]. I’ll check it.
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.
-
AuthorPosts