<p>Is there a way to use <strong>THE LOOP</strong> in <strong>Wordpress</strong> to load pages instead of posts?</p>

<p>I would like to be able to query a set of child pages, and then use <strong>THE LOOP</strong> function calls on it - things like <code>the_permalink()</code> and <code>the_title()</code>.</p>

<p>Is there a way to do this? I didn't see anything in <code>query_posts()</code> documentation.</p>

Yes, that's possible. You can create a new WP_Query object. Do something like this:
```
```
query_posts(array('showposts' => <number_of_pages_to_show>, 'post_parent' => <ID of the parent page>, 'post_type' => 'page'));

while (have_posts()) { the_post();
    /* Do whatever you want to do for every page... */
}

wp_reset_query();  // Restore global post data
```
```
Addition
: There are a lot of other parameters that can be used with query_posts. Some, but unfortunately not all, are listed here:
http://codex.wordpress.org/Template_Tags/query_posts
. At least
```
post_parent
```
and more important
```
post_type
```
are not listed there. I dug through the sources of
```
./wp-include/query.php
```
to find out about these.