Title: Query Order
Last modified: August 19, 2016

---

# Query Order

 *  [wireframe74](https://wordpress.org/support/users/wireframe74/)
 * (@wireframe74)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/query-order/)
 * Hi I have a site set up that runs a query to show all child pages of a certain
   page..I am trying to work out how to sort out the order..I am aware of My page
   order plugin but need something to order the items that a re being dispayed with
   my query..
 * Here is a look at the page that is out of order [http://218.185.38.19/~roplayco/dev/colours/](http://218.185.38.19/~roplayco/dev/colours/)
 * And here is what my query looks like..If there are any tools or even a paramater
   that I can apply to sort alphabetically that could do the job..
 *     ```
       <?php
       query_posts(array('showposts' => 100, 'post_parent'=> 69, 'post_type' => 'page'));
       while (have_posts()) {
       the_post();
       ?>
       <div class="color">
       <div class="colorImg"><? echo get_image('colour_img'); ?></div>
       <div class="colorText"><h4><?php the_title() ?></h4></div>
       </div>
   
       <?php }
   
       wp_reset_query(); //Restore Global Post data
   
       ?>
       ```
   

Viewing 1 replies (of 1 total)

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/query-order/#post-1490862)
 * have you tried to read the codex on ‘query_posts()’ ?
 * [http://codex.wordpress.org/Function_Reference/query_posts](http://codex.wordpress.org/Function_Reference/query_posts)
   
   [http://codex.wordpress.org/Function_Reference/query_posts#Orderby_Parameters](http://codex.wordpress.org/Function_Reference/query_posts#Orderby_Parameters)

Viewing 1 replies (of 1 total)

The topic ‘Query Order’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Michael](https://wordpress.org/support/users/alchymyth/)
 * Last activity: [16 years, 1 month ago](https://wordpress.org/support/topic/query-order/#post-1490862)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
