$home_slider_pages, 'post_type' => 'page', 'post_status' => 'publish', 'posts_per_page' => 6, 'no_found_rows' => true, 'orderby' => 'post__in' ); $slider = new WP_Query( $slider_args ); if ( $slider->have_posts() ) : ?>