Forum Replies Created
-
AuthorPosts
-
Peter
ModeratorHello,
Yes, I logged in to your site and fixed the issue. Not sure what's wrong with the State taxonomy. I've deleted it and re-create a new taxonomy with the same settings and it works properly.
Peter
ModeratorHello Paul,
It seems to be a problem with WooCommerce?
Yes, when WooCommerce is activated, it changes the default order and the menu order of the new CPT, settings page does not work properly. You can deactivate WooCommerce and check this issue again.Peter
ModeratorHello,
The password is still incorrect. Here is the screen record https://drive.google.com/file/d/1xzQGiGbnPmatvGhFfTul14nuFsDbot4p/view?usp=sharing
November 13, 2023 at 9:55 PM in reply to: File Upload, how to display in elementor met group skin template and download it #43801Peter
ModeratorHello Chris,
You can create your own shortcode and add it to the Elementor builder. Or use the Meta Box shortcode to create a downloadable link. For example:
[rwmb_meta id="file_upload_id"]Following the documentation https://docs.metabox.io/shortcode/
Peter
ModeratorHello,
You can use custom JavaScript code to disable scrolling on the number field. Refer to this topic
https://stackoverflow.com/questions/9712295/disable-scrolling-on-input-type-number
and this snippet code
https://codepen.io/ahastudio/pen/eVovMvPeter
ModeratorHello Joe,
What happens if you remove the relationship code and its loop? Do you use the function
get_the_author_meta()in a loop? If not, you have to add the user ID as the second parameter of this function.
Following the WordPress documentation https://developer.wordpress.org/reference/functions/get_the_author_meta/Peter
ModeratorHello,
Yes, you have to use JS code to do something when clicking a button without reloading the page.
November 12, 2023 at 8:42 PM in reply to: How to validate just the value in a key_value pair? #43793Peter
ModeratorHello,
Yes, it will work like that (both questions). Let me know if it does not work.
Peter
ModeratorHello,
Thanks for your feedback.
I can reproduce the issue on my site. I've escalated this issue to the development team to fix it. I will let you know when I have any information.
November 10, 2023 at 10:28 PM in reply to: How to validate just the value in a key_value pair? #43784Peter
ModeratorHello Phil,
I'm afraid that it isn't possible. Both key and value are the field data and you can get the field data, extract the key or value from the array and validate one of them. The submitted data has the format:
[key_value_crx6rkqqts] => Array ( [0] => Array ( [0] => test key [1] => test value ) )Peter
ModeratorHello,
You can check the option "Save field value" if it is disabled. If yes, please enable it and recheck this issue. See this screenshot https://monosnap.com/file/boUvSTyR4Kmm5Ls0wmDiELKehY7Lkb
Peter
ModeratorHello,
I see you send the same user and password as before. Can you please double-check the account before sharing it?
Peter
ModeratorHello,
I see there are 3 errors in your code:
1. Use the name or ID of the settings page, it must be the option name.
2. Missing the close single quote for the first argument.
3. The dash character "object-type" in the fourth argument must be underscore.
add_action( 'init', function() { rwmb_set_meta( 'option_name', 'my_field', 999, ['object_type' => 'setting'] ); }, 99 );Following the documentation https://docs.metabox.io/extensions/mb-settings-page/
https://docs.metabox.io/functions/rwmb-set-meta/how can this then be implemented to fire after clicking a button (metabox field)?Is the page reloaded after clicking on the button? If not, you should use a JS code with Ajax call. If yes, you can try to hook the callback function to the action save_post.
Peter
ModeratorHello,
The user or password is incorrect. Can you please recheck this?
November 8, 2023 at 10:07 PM in reply to: ✅Some Custom Fields Not Saving after WP/MB Update (not max_input_vars issue) #43771Peter
ModeratorHello,
Thanks, I see it works with MB AIO version 1.20.2. I've escalated this issue to the development team to take a look. I will get back to you later.
-
AuthorPosts