For each article, I assign a 'sub-category' taxonomy vocabulary term. Then for each 'sub-category' taxonomy term, it links to a 'category' taxonomy vocabulary term.
I have set up a variant of the taxonomy-term template page that passes the category ID as an argument to a view. This view then uses a contextual filter to display all content within all sub-categories for the given category ID.
To illustrate, say you type in sitename.com/taxonomy/term/1922 which is, say, movies. The view will display all content marked with movies' sub categories. So it currently would show this:
/taxonomy/term/1922 (Movies) Title | Sub-Category | ——————————————————————————————————- Star Wars | Sci-Fi | Star Trek II | Sci-Fi | Home Alone | Comedy | Office Space | Comedy | Thin Red Line | War |
What I want is to have, say, 5 pieces of content per sub-category titled by the sub-category. Something like this:
/taxonomy/term/1922 (Movies)
Scifi:
- Star Wars
- Star Trek II
- ...
- ...
- ...
Comedy:
- OFfice Space
- Home ALone
- ...
- ...
- ...
And so forth. So that it would title all sub-categories and show the top x number of nodes per sub-category.