Help modify taxonomy loop?!

Hello everyone, I have a question. So, I have a table of books, moreover, there are several such tables and they are distributed by grades, books are distributed by different genres, the name of the genres is displayed in the headings. So, let’s imagine that in the first grade I have 3 genres (Business, Classics, Biography), and in the second grade there are 2 of them (Classics, Biography). But, the “Business” genre is displayed as a title in the second grade, so, please help me how to remove the display of the title of the genre that I do not need in a certain class?

Hi Vitalii,

Perhaps you can experiment with the Taxonomy parents and children parameters to achieve your goal here. Below are some previous discussions on this topic.

If this does not help, it would be helpful to post your current logic and output.

3 Likes