Hello guys,
After hours, I decide to ask you a solution for, to my mind, a stupid issue.
To sum up:
- I’ve created a CPT ‘Bicycle sheet’ (ACF PRO)
- I’ve created a taxonomy (ACF PRO) ‘Bicycle categories’.
- I’ve created a layout archive to display the various listings by ‘Bicycle category’.
All that, it works, it’s great.
In the page I’ve created a loop with an ‘all terms’ provider on ‘Bicycle category’: it works.
Except that I only want the terms ‘sale’ (“vente” in screenshots) and its children (not “Location”)
I’ve tried writing the ‘all terms’ query as a query string and then trying to exclude it… but now I’m going round in circles.
How can I loop over terms with exclusion?