Forum Replies Created
-
AuthorPosts
-
November 13, 2018 at 9:57 PM in reply to: ✅How to use CPT as alternative to Taxonomy in Beaver Builder #11933
Anh 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.
Anh Tran
KeymasterHi FED,
Thanks for your feedback. I've just fixed it and released new version. Can you please try again?
Anh Tran
KeymasterI've just released 1.6.13, can you please try again?
November 8, 2018 at 9:59 AM in reply to: ✅Clone As Multiple Feature Doesn't Work With Taxonomy Advanced Field #11885November 7, 2018 at 4:29 PM in reply to: ✅Field type Taxonomy doesn't save choice if other fields are empty #11874November 7, 2018 at 4:22 PM in reply to: ✅Bug: Checkboxes saved in custom table but shown in UI #11873Anh Tran
KeymasterAIO has just been released. Please take a look!
Anh Tran
KeymasterAs far as I know, there's no solution for this problem yet. Why don't you let your client edit the data in a real Excel/CSV file and use a CSV import plugin. There are many of them available for free on .org.
Anh Tran
KeymasterHi Aaron, with the latest update, can you please check this problem again? I checked and it doesn't happen to me.
Anh Tran
KeymasterHi Ale, I've just tested with your code and couldn't see the bug. Which versions of the extensions are you using? Can you please update to the latest ones?
Anh Tran
KeymasterHi Vipinn, we're trying to fix this bug. We tried several times without success, because Gutenberg UI changes so fast. We'll check that again and update you soon.
-
AuthorPosts