Got it working…
query_posts(array('showposts' => 100, 'post_parent' => 106, 'post_type' => 'page', 'orderby'=>menu_order,'order'=>ASC));
Thanks
Ok, i’m still puzzled. I need to keep the Array in the query_post but how can I add the order=ASC and not get a PHP error? I’m using it to generate specific posts, but the order is backwards. I’d like to sort by Page Order in WP. Its doing it fine, just backwards.
<?php if ( (is_page('Products')) ) {
query_posts(array('showposts' => 100, 'post_parent' => 106, 'post_type' => 'page'));
while (have_posts()) {
the_post(); // vital
?>
<a href="<?php the_permalink() ?>" class="grid-product"><?php the_title(); ?></a>
<?php }
wp_reset_query(); // Restore global post data
}
?>