I'm using the query_posts for "Page" item rather than "Post". I want to have the ability to make the "featured" page always on the top, we could add a custom field called "featured_product", if it's eq "1" then display the post as the very first one.
Here is the basic code for the query. Someone help please!?
<?php query_posts(array('showposts' => 1000, 'post_parent' => $post->ID, 'post_type' => 'page', 'orderby' => 'title', 'order' => 'ASC')); ?> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> ... <?php endwhile; else: ?> ... <?php endif; ?>