Forum Replies Created
-
AuthorPosts
-
Anh Tran
KeymasterHi Nattapat,
Thanks a lot for your feedback and supporting us! I really appreciate your comments.
- Regarding MB Builder, the new version is coming in just a few days. I'm finalizing some issues just to make sure I don't have to release another hotfix version again.
-
Regarding WP All Export, I appreciate your feedback and please understand that this is also a very important thing to us, too. This is on the plan and we're going to work on that after finishing the Gutenberg extension (that allows you to create Gutenberg blocks, it's 80% done). Working on Gutenberg takes longer than we expected since there are some technical difficulties, but we're trying so hard to make it done. Probably in 1-2 weeks.
If you can wait for us about 1-2 weeks, then I'll try my best to finish the WP All Export as soon as I can. In another case, I'm happy to send you the refund.
Anh Tran
KeymasterHi Alex & Adrien,
Please see the section "Context not working" on the docs:
https://docs.metabox.io/creating-meta-boxes/#contexts-not-working
July 3, 2019 at 9:39 AM in reply to: ✅Serialized array for select_advanced saves incorrectly on front-end submission #15221Anh Tran
KeymasterHi,
Do multiple meta boxes use different custom tables? If they use the same custom table, that might not work properly.
Anh Tran
KeymasterHi,
Did you mean querying posts by custom fields?
If so, please try this code:
add_filter( 'rest_{type}_query', function( $args ) { $args['meta_query'] = array( array( 'key' => 'my_field', 'value' => esc_sql( $_GET['field'] ), ) ); return $args; } );REST URL:
http://site.com/wp-json/wp/v2/posts?field=testThe wildcard
{type}can be: post | user | comment | attachment | custom post type | taxonomy.Anh Tran
KeymasterHi Jiro,
Yes, you need to do 2 requests:
- First request for adding the image to the WordPress library. You can try this tutorial on doing that: https://stackoverflow.com/q/37432114/371240
- Second request to set the image for user profile. See this guide on doing that.
Anh Tran
KeymasterHi @jpascale,
Yes, the information is still correct. You need to write your custom SQL to search through the custom table to get the post IDs. Then make the WP_Query to get the post objects.
Anh Tran
KeymasterHi Clientes,
This is an interesting question. Performance is a big problem if you make query by custom fields, and it's not recommended to do that. See this post for details:
https://metabox.io/custom-fields-vs-custom-taxonomies/
Unless you use a plugin like SearchWP, which will index your content and perform an optimized search, it's not recommended to store large data in custom fields.
In my opinion, the best way is using custom tables (with MB Custom Table extension). It helps organizing data and making SQL queries faster. However, you have to write the queries yourself.
See this post for more details:
July 3, 2019 at 9:03 AM in reply to: ✅Bug: Color Picker field is showed below the Title field #15216Anh Tran
KeymasterHi Clientes,
I missed this topic. I've just fixed the bug here. Please try it. New version will come later.
Anh Tran
KeymasterYes, that's ok to remove those lines.
Anh Tran
KeymasterHi Nattapat,
Thanks a lot for your feedback. I got it fixed and will update MB Builder soon.
Anh Tran
KeymasterHi Dave,
There is actually a change in the code. It's the last line
'type' => 'user'. I forgot to unset thepagesparam. I'll do that in the next version. Don't worry about it right now, it still works as expected.Anh Tran
KeymasterHi pza,
Thanks for your feedback. In the previous version, there was an option "After Editor". But if you're using Gutenberg, this option is merged into the "After Content" option. I'll update this in the next version. In the mean time, please re-select "After Content" option.
June 30, 2019 at 3:47 PM in reply to: ✅Cloning a Metabox Group item results in 'property content is undefined' #15179Anh Tran
KeymasterYes, I will. It will be available on Monday.
Anh Tran
KeymasterCan you upload the screenshot somewhere public like imgur.com? I can't view it.
Anh Tran
KeymasterHi Joe, I've just fixed this bug. Please try it:
https://github.com/wpmetabox/meta-box/commit/8f1b2caa996731a50cc898d2fb1e53b6ed1557b7
New version is coming on Monday!
-
AuthorPosts