I'm sure this must be simple but I've tried multiple options with little success. What is the best way to build a query to get the children of more than one entry via an entry field?
For one parent would be:
{% set parent = craft.entries.id(parent_id).one() %}
{% for child in parent.children.all() %}
//Stuff
{% endfor %}
But I cant work out how to build the initial query to include more than one parent entry. The output I am looking for is a query that allows me to loop through all of the children from both(or more) entries selected. eg:
{% set query = craft.entries.id([4,35]).all().children.all() %}
Any help much appreciated!