I have a custom post type which has a custom taxonomy, custom post type: Cars Taxonomy name: Make Taxonomies: BMW - Mercedes - Toyota ,...
I need a query to get all posts under "custom post type: Cars" and show each post under its taxonomy:
BMW
car number 1 car number 2 car number 3
Mercedes
car number 1 car number 2 car number 3
Toyota
car number 1 car number 2 car number 3
And i want it to hide taxonomy if there is no post.