Problem: I have two custom post types. On the Elementor template for post type A, I would like to display a slider View of post type B. I would like to filter post type B by a taxonomy term that has the same slug as post type A where the View is shown.
Solution: Use a shortcode to insert the View and set the term filter to respond to a shortcode attribute. Pass in the current post's slug to the term filter shortcode attribute using the wpv-post-slug shortcode: