GrandParent ,Parent, Child issue
You’re using get_children and it’s doing exactly what you told it to do. You told it to get all the descendants of that post, and thats what you got. You need to be more specific about what you’re querying for, that you only want immediate descendants. You almost had the right idea originally: $pages = … Read more