New answers tagged children
The problem with grasping implementation for such deeply nested tree is that it is best solved recursively - your code should output post, then output children and endlessly repeat the process for each child until it runs out. However before you spend time on custom implementation you could try to look into existing functions WP provides. For example ...
Top 50 recent answers are included