Hello,
The example you are showin is just a page with the content distributed with accordions that you can create with plugins like Shortcodes Ultimate (the one I use).
Even if you want to list the child pages for a parent page, that same plugin does it using the “Child pages” shortcode.
But I think you might just group your FAQ content in plain accordions. No child pages needed on your example.
It’s just a SINGLE page.
The feature to click to reveal additional content is often called “accordion effect”.
Practically every FAQ plugin will have this feature. Some SEO plugins also have this feature, with appropriate semantic markup.
Most advanced block plugins will also have this feature. I’m talking of block plugins that offer many different blocks, like GenerateBlocks, KadenceBlocks, Gutenverse, etc.
Finally, there are dedicated block plugins that offer just this one feature and nothing else.
Please see: https://ww.wp.xz.cn/plugins/search/accordion+block/
Good luck!
the content is distributed according to selected categorie of the table of content via child “page”/block. This is what I try to achieve.
Your FAQ answers should not be distributed among child pages, all content should occur on the same page like George has already pointed out. The accordion feature then hides all the answers, revealing them one at a time based on a click event.
The HTML structure you use for questions/answers depends on the specific accordion solution you use, but typically the answer is an element contained within a parent question element. The referenced page uses parent/child divs, but some accordion scripts use some sort of ul/li structure instead.
Choose your preferred accordion application and then structure your content to work with that particular app.