absint( $testimonial_number ), 'post_type' => 'post', 'post_status' => 'publish', 'paged' => 1, ); if ( absint( $testimonial_category ) > 0 ) { $testimonial_args['cat'] = absint( $testimonial_category ); } // Fetch posts. $the_query = new WP_Query( $testimonial_args ); ?> have_posts() ) : while ( $the_query->have_posts() ) : $the_query->the_post(); ?>