'page', 'post__in' => (array) $asycom_client_pages, 'posts_per_page' => 6, 'orderby' => 'post__in', ); // Run The Loop. $query = new WP_Query($args); $i = 1; if ($query->have_posts()) : while ($query->have_posts()) : $query->the_post(); ?>