WordPress.org

Ready to get started?Download WordPress

Forums

Find first child page id of page X (2 posts)

  1. jrodgers
    Member
    Posted 6 years ago #

    I ma looking for a way to find the first child page id when i know the parent page id
    i am getting the parent page id by using
    $post->post_parent

    from this start i need to find the first child page as it is ordered in the db, not based on post id but on the actual page ordering

  2. jcdesign
    Member
    Posted 5 years ago #

    This might be related - I just figured out how to redirect to the first child: http://wordpress.org/support/topic/257560

    HTH.

Topic Closed

This topic has been closed to new replies.

About this Topic