priceDropQuery
// WP_Query arguments $args = array( 'post_type' => array( 'product' ), 'nopaging' => true, 'posts_per_page' => '10', 'posts_per_archive_page' => '10', 'order' => 'DESC', ); // The Query $priceDropQuery = new WP_Query( $args ); // The Loop if ( $priceDropQuery->have_posts() ) { while ( $priceDropQuery->have_posts() ) { $priceDropQuery->the_post(); // do something } } else { // no posts found } // Restore original Post Data wp_reset_postdata();