Forum Replies Created
-
AuthorPosts
-
Anh Tran
KeymasterHello,
I've just tried your code and don't see that bug. Here is my screenshot: http://prntscr.com/ijfpwy
The duplicated text looks like the meta box title. Can you check if it's somewhere?
Anh Tran
KeymasterHello, what is the output of print_r( $group_value )? Do you use prefix for group ID?
Anh Tran
KeymasterHello, I think your trick is the best way to handle that. Because the whole media popup is WP thing, we’re limited by its ability. Until now, I haven’t found a way to auto search like that.
Anh Tran
KeymasterMy bad :(. I forgot to update version on extension page. It should be fine now.
Anh Tran
KeymasterI'm not sure about this, because the way WordPress build SQL queries from meta query object is very complicated. I'll see if I can do something.
February 22, 2018 at 10:27 AM in reply to: Conditional logic not working with clones in groups #8591Anh Tran
KeymasterThanks for letting me know about that. Currently, handling removing images inside the media library is lack. It's kind of complicated. I will try to figure out from the Media Popup code later.
Anh Tran
KeymasterThanks a lot for your help! This CSS is for making sure inputs do not overflow the column width. I've changed the CSS and updated the plugin. Please let me know how it goes.
Anh Tran
KeymasterI've tested and it works for me. Did you add the field for an existing post? The
stdparameter only works for new posts, or posts that the meta box hasn't saved before. I guess your post has an existing meta box that already saved at least once before. Can you check that?Anh Tran
KeymasterHi,
Thanks for the greeting 🙂
The Custom Table extension hasn't incorporated with the meta query yet. Please use 2 queries to get posts: 1 for getting post IDs from the custom table and one for getting posts. This is the sample code:
global $wpdb; $post_ids = $wpdb->get_col( $wpdb->prepare( "SELECT ID FROM your_table WHERE obh_note_associated_members LIKE %s", $post->post_author ) ); $query_args = array ( 'post_type' => 'obh_note', 'orderby' => 'meta_value', 'meta_key' => 'obh_note_date_time', 'order' => 'ASC', 'post__in' => $post_ids, ); //The query $member_notes = new WP_Query( $query_args );Anh Tran
KeymasterI haven't encountered that before. Let me check that.
FYI, the whole upload functionality is created by WordPress. We move it to the frontend, but don't touch on the core code.
Anh Tran
KeymasterHi Saqib,
Sorry for the late reply. We're just been back from the Tet holiday. Regarding the bug, I've just tested and the map market is showing:
https://imgur.elightup.com/oPWhPGl.png
Do you see any error in the console? Normally, Google Maps will shows errors in the console of there's any.
By the way, can you send me your meta box code to check?
Anh Tran
KeymasterBy the way, you can do almost what missed with Custom Attributes for fields in the Builder. Please see the docs for that. It’s not intuitive, but works.
Anh Tran
KeymasterHello,
The Builder extension was made 3 yearss ago when the functionality of Meta Box and other extensions are limited. However, its purpose is providing full support for plugins. We have just acquired this extension from the original developer (Tan Nguyen) and thus, are updating it to catch all the changes in other plugins recently.
We understand that there are some features are limited, and we’re trying to fix it. It would be great if you can help us by listing what you see missed.
Regarding the online generator, yes, it’s the limited version of Builder with support only for the core Meta Box plugin. After updating the Builder to fully support other extensions, we’ll probably update it as well, but that’s not the priority.
Anh Tran
KeymasterLet’s close this topic as we have resolved it via email. The problem was that the custom attributes should be set for meta box, not for fields.
Anh Tran
KeymasterThis is the default behavior of the plugin. And unfortunately, we have to follow that 🙁
-
AuthorPosts