Forum Replies Created
-
AuthorPosts
-
Anh Tran
KeymasterHi,
Unfortunately, the front-end editing of custom fields is not possible for Elementor. We have an extension MB Frontend Submission, which allows edit posts and custom fields on the front end. It works via an shortcode that you can put in Elementor. But that's a different approach.
Anh Tran
KeymasterUnfortunately, it's not possible. Elementor doesn't work that way as it stores data per post, not per custom field.
Anh Tran
KeymasterHi Chris,
Can you send me a temporary admin account to look at? This is a major update of MB Builder and there's some change in how the plugin stores data. I wrote the Upgrade script to migrate data, but there might be some unexpected bug.
Anh Tran
KeymasterHi Dragan,
I've just tested and couldn't see the problem. Here is my screenshot:
https://imgur.elightup.com/nFll5CH.png
Did you see any error in the console?
June 27, 2019 at 4:50 PM in reply to: ✅Apostrophe and quotation mark in post type Plural ans singular name #15139Anh Tran
KeymasterHi Andrien,
The AIO update will be available on Monday. I've updated only MB Custom Post Type plugin.
June 27, 2019 at 3:43 PM in reply to: ✅Cloning a Metabox Group item results in 'property content is undefined' #15134Anh Tran
KeymasterI got it! Can you try this updated version?
Anh Tran
KeymasterHi Max,
You can do raw SQL query like this:
global $wpdb; $ids = $wpdb->get_col( "SELECT <code>to</code> FROM $wpdb->mb_relationships WHERE <code>from</code> = 123 AND <code>type</code> = 'your_relationship' ");PS: I think
WP_Queryis fine if you set'fields' => 'ids'.June 27, 2019 at 3:36 PM in reply to: ✅Apostrophe and quotation mark in post type Plural ans singular name #15132Anh Tran
KeymasterHi Axel,
Thanks a lot for your feedback. I've just fixed it and released a new version.
Anh Tran
KeymasterHi Dave,
It's clear that GF works only with standard WP user meta. It doesn't work with any custom table (not only MB Custom Table, but all).
I think the solution is writing a custom code to hook to GF query, as they said. Unfortunately, I'm not experience with that.
Anh Tran
KeymasterHi again,
There is an updated fix for this bug, can you please try the development version here?
June 27, 2019 at 10:29 AM in reply to: ✅Gutenberg Sidebar Media Upload Clash with image_advanced #15125Anh Tran
Keymaster@latlong: There is an updated fix on this, can you try the latest version on Github?
Anh Tran
KeymasterI'd suggest not using
requiredwithselect_treeas the logic is confusing. Therequiredattribute will be applied to allselect, no matter where it is and which level it has.Anh Tran
KeymasterThis is a bug in the plugin and is already fixed here:
https://github.com/wpmetabox/meta-box/commit/2c2e7da9e3cb340edcff2d80069e1fb27f1910a2
Please apply it in the mean time. I'll update the Meta Box plugin in a few days.
Anh Tran
KeymasterHey guys, I've just found the bug and fixed it here:
https://github.com/wpmetabox/meta-box/commit/03df0e3e52ff69db981e81fedb62aca31e62c679
@Kim: I also applied the fix on your website and it works great.June 27, 2019 at 8:58 AM in reply to: Memory issues and unbound queries - "Query posts for field options" #15120Anh Tran
KeymasterHi Vinny,
The query function makes sure you can get all posts to connect to/from. If you don't need to do that, you can optimize the query by using the
query_argsparameter for thefromortoside to avoid the'posts_per_page' => -1.See this docs for details:
https://docs.metabox.io/extensions/mb-relationships/#syntax
There is no way for us to figure out all the use cases for this core function, but does MB really need to store all post fields?
As you see, we're using
WP_Queryand it doesn't have any option to return some fields. Besides, we need all post fields in case developers want to filter what field to display. -
AuthorPosts