Getting child Pages with query_posts() (3 posts)

  1. nenad16x16
    Posted 8 years ago #

    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.

  2. urbanor
    Posted 7 years ago #

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

  3. MichaelH
    Posted 7 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic