I need to split up a navigaton tree. So I try to exclude certain pages from a structure based navigation tree PLUS their children automatically, but don’t seem to get it.
{% nav page in craft.entries.section('pages').id('and,not 3,not 4,not 5') %}
Excluding certain entries like this works.
But:
{% nav page in craft.entries.section('pages').descendantOf('and,not 3,not 4,not 5') %}
… doesn’t return anything of course, because descendantOf needs one exact ID. But how could I manage to exclude entries 3, 4 and 5 AND all their children from the navigation without calling the exact IDs of all the children?
Thanks!