Ummmm yeaaah.
I'm working on a Wordpress eCommerce site. Want to have a top level parent page called "Shop" with Child pages: "Product Type 1", "Product Type 2", Product Type 3".
Each of the three second level children will have a long list of products (as third level children).
Here is my issue: When the top level "Shop" page is selected, I want to query ALL of the grandchildren. I also want to exclude the second level children from the list...those pages only exist as templates and for SEO reasons.
Here is what I've used in the past when calling child pages:
query_posts("post_parent=48&post_type=page&orderby=title&order=asc");
Where post_parent=48 is the top level page's ID. Any suggestions?