Custom Plugin – Query CPT – Display Results
Try: $the_query = new WP_Query( array( ‘post_type’ => ‘Testimonials’ ) ); Looks like you probably just need to change that to : $the_query = new WP_Query( array( ‘post_type’ => ‘testimonial’ ) ); You need to use the name you created it with when looking at post_type