Subpages for current page

hello, how to get subpages links in template or snippet and not all the treemenu ?
/ with the https://getkirby.com/docs/cookbook/menus#tree-menu we have to specify a page or subpage name… but I need something more abstract like displaying childrens links of ‘current page’…

$page->children()

returns the children of the current page. But I’m not sure this is what you are asking for…

fantastic :slightly_smiling_face: I spend hours trying and learning like the noob I’m and solutions are sometines so simple and clear . Thanks everybody in this forum and thanks texnixe you saved my week-end cheers

1 Like