Tell me more ×
WordPress Answers is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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.

share|improve this question
What have you tried so far? Post your code please. – s_ha_dum Jan 5 at 16:01

closed as too localized by toscho Feb 13 at 23:32

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.