Hi @ocean12, you can add some checks to your loop. The page class has many methods to fine-grain your result. To only show visible and maybe published pages change your for loop to
—twig
{% for p in page.parent.children if p.routable and p.visible %}
…
{% endfor %}
Here `routable` accounts that the page must have a route and `visible` that it must appear in the menu. You can drop the latter, if you don't need it.
Sommerregen