Forum Replies Created
-
AuthorPosts
-
November 10, 2019 at 7:45 AM in reply to: ✅PHP Fatal Error after updating from Version 1.2.5 to 1.2.7 #16866
Anh Tran
KeymasterHi Daniel, thanks for your help. I've made the change and released a new version 1.2.8.
At the moment, the download version is always the latest one.
Anh Tran
KeymasterHi Bill,
Have you installed any premium extensions? The Meta Box menu only appears when at least one premium extension is installed.
Anh Tran
KeymasterThanks. I've fixed in the latest version. Please update.
Anh Tran
KeymasterUnfortunately, the plugin supports only Iris color picker. However, you can define your own palettes, as shown here:
https://github.com/wpmetabox/library/blob/master/general/demo.php#L248
Docs for that: https://automattic.github.io/Iris/
Anh Tran
KeymasterHave you tried adjusting the query args with tax query?
https://developer.wordpress.org/reference/classes/wp_query/#taxonomy-parameters
Anh Tran
KeymasterIf I put the shortcode in the post content, I see infos in custom fields, but for example if I add post_fields=”title”, the title is empty…
Can you clarify this? I'm not quite clear.
Anh Tran
KeymasterHi Hazmi,
Thanks for asking this question.
As the clients buy from theme authors, not from us, they should receive updates from the theme authors. Clients don't have the license key, and they can't have automatic updates.
Theme authors are responsible to update the extensions as they bundle or integrate extensions within their themes.
When someone find a bug or a security problem, they should contact the theme author and ask for updates immediately.
This works similarly for other plugins (such as Revolution Slider or WP Backery PageBuilder) that the theme authors integrated inside their themes.
November 5, 2019 at 4:32 PM in reply to: ✅ArgumentCountError on RWMB_Taxonomy_Field with MB_Revision #16804Anh Tran
KeymasterThanks! I've just fixed the MB Revision extension. AIO will come soon.
Anh Tran
KeymasterYes, the
post_idparam tells the plugin to pull data from the post with ID = 1234. I made a video on how it works here: https://www.loom.com/share/68cf865579464b43a021a82d2cf08f18.How did you register the meta box? With code or via MB Builder?
November 5, 2019 at 3:11 PM in reply to: ✅Custom Blocks don't appear in admin with Gutenberg 6.8 #16802Anh Tran
KeymasterHi Johann,
I've just installed the 6.8 version of Gutenberg plugin and tested with a custom block. It seems to work fine to me. Please see this video: https://www.loom.com/share/03ce8376b1444044b08b2f3cc5026dab
Can you share a screenshot/video and probably the code to debug the problem?
Anh Tran
KeymasterHi Alex,
I've just checked and see the "Thumbnail" option works well. Here is my video: https://www.loom.com/share/aba2cba857bd4b62bf88f62dc44dada2. I tested it with the block editor and classic editor.
Anh Tran
KeymasterI understand. I've just sent you the refund. If you need any pro feature, please purchase the extensions again.
Anh Tran
KeymasterHi Manoj,
Please use the hook
mb_settings_page_loadwith priority > 10, like this:add_action( 'mb_settings_page_load', function() { // Run your code. }, 20 );November 4, 2019 at 9:13 AM in reply to: Thumbnail field in frontend form allows any file type #16781Anh Tran
KeymasterPlease don't put any text inside the
setCustomValidityfunction. The content will be output inside quotes via PHP, so it might break the code. Instead of that, please try to add a custom JS to the page (enqueuing a JS file that contains a setCustomValidity() function).Anh Tran
KeymasterI think there are 2 issues here:
- Read-only attribute, and
- Validation for user input
A Boolean attribute which, if present, indicates that the user should not be able to edit the value of the input.
The difference betweendisabledandreadonlyis thatread-onlycontrols can still function, whereasdisabledcontrols are not submitted with the form and generally do not function as controls until they are enabled.So, it's better to prevent user to change value from a read-only date picker (the 1st issue).
The validation issue is quite different and I think can be solved with @brandonjp's solution with
patternattribute.Another issue with
readonlyis that it will ignore therequiredattribute (ref in the MDN docs above), which sometimes is a problem. -
AuthorPosts