Number of generations of children
-
I don’t think there’s a way to do this, so I’m requesting it. When setting up a loop like:
[loop type=page parent=this include=children]
I’d like a way to specify how many generations of children I want it to check. The above checks all children, and of their children ad infinitum, and
[loop type=page parent=this]
might be considered checking one generation of children. I’d like to be able to specify 2 generations, or 3, or whatever.
I’m not sure how I would do it. You have include=children but could also have children=yes mean the same thing and be the same as children=1, and then allow children=2 to check two generations, etc.
I think it would be useful.
https://www.ads-software.com/plugins/custom-content-shortcode/
- The topic ‘Number of generations of children’ is closed to new replies.