Hello @ruenel , seeing as you understand Loopers very well, I thought I’d ask you about something, instead of spending several hours trying to figure it out…
I have a Post Type for Frequently Asked Questions. Each post within this type has two custom fields: “Answer” and “Subject (which could be linked to a custom taxonomy, if it helped)”. The “Question” would be the title of the post. My client will add new posts (Questions), and might add new “subjects”.
I want to create a page that will automatically populate with all the data, and update whenever a new question or subject is added, using the following structure:
Subject 1
Q1
A1
Q2
A2
...
.
Subject 2
Q1
A1
Q2
A2
...
…
My guess is Nesting loopers, first pulling the “Subject” and outputing it in a Headline element, and then pulling the individual questions, but filtering by the aforementioned “Subject” and outputing them and their answers in Headlines and Sub-headlines.
However, I have no idea how to achieve this. What would be the best way to do this? Thanks!




