I have a custom post type with custom taxonomy and 3 differents terms.
I'm trying to build a page with this structure :
Term 1
- Post tagged with term 1
- Post tagged with term 1
Term 2
- Post tagged with term 2
- Post tagged with term 2
- Post tagged with term 2
Term 3
- Post tagged with term 3
Etc...
What is the best way to achieve that ? has_term() ?