WordPress.org

Forums

Getting child Pages with query_posts() (3 posts)

  1. nenad16x16
    Member
    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
    Member
    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
    Member
    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:
    http://wordpress.org/support/topic/102227?replies=3

    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