Create a WordPress loop that shows posts from a custom post type + filters the posts by taxonomies while hiding empty taxonomies

Create a WordPress loop that shows posts from a custom post type + filters the posts by taxonomies while hiding empty taxonomies