Forum Replies Created
-
AuthorPosts
-
Long Nguyen
ModeratorYou can use the plugin Insert Headers and Footers to add the script code to the footer https://wordpress.org/plugins/insert-headers-and-footers/.
Or just enqueue a script file to run the code https://www.wpbeginner.com/wp-tutorials/how-to-properly-add-javascripts-and-styles-in-wordpress/.
Long Nguyen
ModeratorHi,
You need to use a little bit JavaScript code to switch Next/Prev between two groups. See my screen record for example https://www.loom.com/share/ad4e04a2535d49ffb0f479f840f1ef5f.
jQuery(document).ready(function($) { $('.button-group2 input.rwmb-button_group').on('click', function(){ $('.button-group1 input.rwmb-button_group').prop('checked', false); }); $('.button-group1 input.rwmb-button_group').on('click', function(){ $('.button-group2 input.rwmb-button_group').prop('checked', false); }); });Long Nguyen
ModeratorHi,
If you use the custom table to save the custom field's value, here is the sample query to filter the post base on the field's value https://docs.metabox.io/extensions/mb-custom-table/#query-posts-with-wp_query.
Long Nguyen
ModeratorHi,
There is a filter hook
rwmb_frontend_redirectto change the redirect URL but it only supports checking the shortcode attributes, not the field's value. I'm going to create a feature request to support filtering the redirect URL base on the field's value.In this case, I think you should create two groups, just show when the user selects type of business.
Long Nguyen
ModeratorHi,
The field password always encrypts value when saving to the database, it cannot and do not recommend changing the purpose of this field. I think you can use two fields to achieve this goal.
- Field password: let user type the license key.
- Field hidden: get the value from field password when user types and save the text value in the database (use some jQuery code).Very easy to read the text with the hidden field.
Long Nguyen
ModeratorHi,
The extension only supports to show all custom fields on the front page with the same page. I think you can use conditional logic to show a next tab/group if the user clicks to a button "Next part" as an example.
Hope that helps.
Long Nguyen
ModeratorHi,
We also create a notice in the data document section
It’s the recommended way by WordPress that doesn’t make your options table bloat.
The extension only supports to save all settings in an array (like the theme options theme_mods_theme-slug) to avoid bloating database.But it's an exciting idea, and I will create a feature request for the developer team to research and support this case.
Long Nguyen
ModeratorHi,
This problem is so weird, please follow this guide to know how to create the staging site https://www.wpbeginner.com/wp-tutorials/how-to-create-staging-environment-for-a-wordpress-site/.
Then share the credentials (Admin site and FTP account) via this form https://metabox.io/contact/. I will check it out.
Long Nguyen
ModeratorThanks for the feedback, I will note all ideas into the request and assign to the developer team to improve the cloneable field.
Have a good day.
Long Nguyen
ModeratorHi,
This problem is so weird, please follow this guide to know how to create the staging site https://www.wpbeginner.com/wp-tutorials/how-to-create-staging-environment-for-a-wordpress-site/.
Then share the credentials (Admin site and FTP account) via this form https://metabox.io/contact/. I will check it out.
Long Nguyen
ModeratorHi,
We have an extension Meta Box - Elementor Integrator which helps to integrate Meta Box and Elementor plugins, allowing you to use Elementor (Pro) to select and show custom fields created by the Meta Box plugin in the templates.
Please install this plugin then check the step above again.
Long Nguyen
ModeratorHi,
The function update_post_meta() updates the meta value in the backend as well. The issue is it does not display the HTML tag in the frontend. Could you please check the code which shows the field value in the frontend? Is it rwmb_meta()?
Long Nguyen
ModeratorHi,
I’d like the UI to be cleaner such that if there are no items of a certain type for a post, it simply is empty with a button to add one, instead of empty fieldsI think you can use the extension MB Conditional Logic to show fields if it has a condition to show.
https://metabox.io/plugins/meta-box-conditional-logic/I need to remove an entry I can remove all of them except the last one, at which point the end-user needs to erase all the dataThanks for your idea, I'm going to create a feature request to support a button to remove all cloneable fields and keep the last one.
Long Nguyen
ModeratorHi Jon,
Please try to switch to the default theme of WordPress (Twenty Twenty) and deactivate all plugins except Meta Box, then activate plugins one by one. This procedure will help us to find the plugin/theme conflict with Meta Box.
Let me know how it goes.
Long Nguyen
ModeratorHi,
If you are using MB AIO, the file locates in
wp-content/plugins/meta-box-aio/vendor/meta-box/meta-box-builder/src/Register.php. -
AuthorPosts