Support » Fixing WordPress » Getting child Pages with query_posts()

  • Can I get all the sub-Pages of the specific Page using query_posts()? If not, what’s the easiest way to do it?
    I’m using version 2.1.

Viewing 2 replies - 1 through 2 (of 2 total)
  • urbanor


    I am in the same situation and would love to know if someone has found a workable solution for this.



    Don’t know if you can get that directly with query posts but the post_parent row in wp_posts is how you tell the child of a given page.

    Here’s one example:

    Also search the forums for post_parent for some other threads or click on the post_parent tag I added above.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Getting child Pages with query_posts()’ is closed to new replies.