No more :post/children, :taxon/children, etc. It shouldn't matter what "type" it is. What we're interested in is:
whether the thing has children
whether the thing has a parent
whether we need to worry about ancestry when building a URL
If a thing has a :thing/_children attribute, we know it is the child of something. In combination with a slug abstraction, this can help us build URIs from route definitions in an abstract way, without caring about whether the thing is a post, taxon, menu item, etc.
No more
:post/children
,:taxon/children
, etc. It shouldn't matter what "type" it is. What we're interested in is:If a thing has a
:thing/_children
attribute, we know it is the child of something. In combination with a slug abstraction, this can help us build URIs from route definitions in an abstract way, without caring about whether the thing is a post, taxon, menu item, etc.