I have the following page hierarchy, all of which are under a top page (TOP) with ID = 1:
- mid1
- gc1
- gc2
- mid2
- gc3
- gc4
I would like to make submit WP_Query query that will return random pages that are grandchildren of TOP - in this example, I want to randomly select from gc1, gc2, gc3 and gc4, but exclude mid1 and mid2. What is the best way to do this?