Skip to content

Children

The Children component automatically displays the child items of the current page, based on the site’s menu hierarchy. This is useful for creating index-style pages that list sub-pages without having to manually add each link.

Children — Configuration
Children — Configuration

The component looks at the menu hierarchy and finds all pages that are direct children of the current page:

  • DirectoryAbout
    • DirectoryOur Council (current page)
      • Councillors (child — shown automatically)
      • Meetings and Agendas (child — shown automatically)
      • Code of Conduct (child — shown automatically)
    • Services
    • News

Specify the parent node whose children should be displayed. In most cases, this will be the current page itself.

All fields (technical reference) — 2 fields
Field nameMachine nameTypeRole
Content Referencefield_dmz_content_referencereference (page)Editor
Number Childrenfield_dmz_enumerate_childrenbooleanEditor