_price
// WP_Query arguments $args = array( 'post_type' => array( 'product' ), 'post_status' => array( 'publish' ), 'order' => 'DESC', ); // The Query $affoffers = new WP_Query( $args ); // The Loop if ( $affoffers->have_posts() ) { while ( $affoffers->have_posts() ) { $affoffers->the_post(); // do something } } else { // no posts found } // Restore original Post Data wp_reset_postdata();