• 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/

    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)
Viewing 1 replies (of 1 total)

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