Forum Replies Created
-
AuthorPosts
-
Anh Tran
KeymasterThanks a lot for your investigation. LearnPress is bundling Meta Box inside. So, I think the problem is the bundled version is old and not compatible with the AIO extension. The old version doesn't create the menu for all Meta Box extensions.
Please contact LearnPress and ask them to upgrade the version of Meta Box. I'll contact them as well.
Anh Tran
KeymasterHi Scherjon,
Thanks for your feedback. This is a bug of Meta Box and I've just fixed on Github. Please download and use it.
PS: Currently, the format output is the format that shown in the date picker. We're working on updating the datetime field to use one format when saving and another when displaying. We'll update the plugin when it's done.
Anh Tran
KeymasterHi,
I'm not sure what your field type is. So depending of the field type, we have different solution.
For
taxonomyfield, as the plugin doesn't store value in post meta, there's no need to submit value viameta_boxfield. Instead, after creating tags, you should send another request to set post terms, e.g. set the created tags as a term for the post.For
taxonomy_advancedfield, the value saved in the DB is theterm IDs(separated by commas), not term slugs. So I think you still need to send 2 requests: one for creating tags and gets their IDs, one for adding those IDs to post meta viameta_box.I hope that makes sense.
Anh Tran
KeymasterHello,
Did you install and activated Meta Box from Plugins > Add new? The AIO plugin requires Meta Box to work.
If that doesn't work, please try re-install the AIO plugin. Maybe something broke while installing.
November 17, 2018 at 11:06 AM in reply to: ✅MB Elementor Integrator Displays "Array" for Clone Fields #12030Anh Tran
KeymasterHi guys,
I've fixed this bug in the version 1.0.1. Please update.
Regarding the group field, especially cloneable group, as the content of each field in the group can have different layout, we haven't figured out a good way to output its value.
November 14, 2018 at 3:43 PM in reply to: ✅MB Elementor Integrator Displays "Array" for Clone Fields #11949Anh Tran
KeymasterHi Donna,
What is your field type? Is that a group or just a simple text field?
November 14, 2018 at 3:41 PM in reply to: ✅How to use CPT as alternative to Taxonomy in Beaver Builder #11948Anh Tran
KeymasterHi Dan,
For this purpose, yes, coding is required. We're updating the Builder to make it supports more features in the Meta Box and extensions. But for now, it's not there yet.
November 13, 2018 at 10:08 PM in reply to: ✅Displaying specific custom fields in post admin list? #11936Anh Tran
KeymasterHi Neil,
Is that similar to MB Admin Columns?
November 13, 2018 at 10:06 PM in reply to: ✅Getting list of available fieldtypes and global fields of each type #11935Anh Tran
KeymasterHi,
You can get all fields registered by parsing the meta boxes' configurations. All of the meta boxes' configurations can be access via
rwmb_get_registry( 'meta_box' )->all().Anh Tran
KeymasterIt's great that you found a solution. I think the rwmb_get_field_settings() function can help a little. It gives you the group field settings and then you can get the options for sub-field.
$group = rwmb_get_field_settings( 'group' ); $sub_field = $group['fields'][0]; $group_value = rwmb_meta( 'group' ); $sub_field_value = $group_value[0]['sub_field']; $label = $sub_field['options'][$sub_field_value];November 13, 2018 at 9:57 PM in reply to: ✅How to use CPT as alternative to Taxonomy in Beaver Builder #11933Anh Tran
KeymasterHi Dan,
To connect Solutions to Solutions Category, you need to install MB Relationships extension. And then follow the extension docs. Basically, all you need is the following code in
functions.php:add_action( 'mb_relationships_init', function() { MB_Relationships_API::register( array( 'id' => 'solutions_to_solution_categories', 'from' => 'solution', 'to' => 'solution_category', ) ); } );Then you can select connected solution categories when you edit a solution.
To get the connected solution categories to show on the frontend, I think it's hard to do in BB, since it doesn't support to make custom query with custom arguments yet :(. The way you query related posts is described here.
Anh Tran
KeymasterTo get the image URL, you have to use PHP. So in this case, it's impossible to put the image URL directly in CSS file. However, you can use PHP to output CSS. Here is a sample code:
$image = rwmb_meta( 'mobile_image' ); if ( $image ) : echo ' @media (max-width: 767px) { .page-hero .product-page-hero { background-image:url(' . $image['url'] . '); } }'; endif;Anh Tran
KeymasterHi,
I've fixed this bug in the version 1.6.3 and updated the Conditional Logic extension. I'm waiting for a fix for the Builder, then AIO will be updated.
Anh Tran
KeymasterHi Jason,
The problem is meta boxes are registered and run before any WP query, so all the template functions won't work.
If you're going to get in the back end, then please use this code:
$post_id = false; if ( isset( $_GET['post'] ) ) { $post_id = intval( $_GET['post'] ); } elseif ( isset( $_POST['post_ID'] ) ) { $post_id = intval( $_POST['post_ID'] ); }Anh Tran
KeymasterNew version is available and I think you already tried it 🙂 Let me know if you find any bug.
Thanks.
-
AuthorPosts