Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

dr

// WP_Query arguments
$args = array(
	'post_type'              => array( 'doctors' ),
	'post_status'            => array( 'publish' ),
	's'                      => 'sssssssssss',
	'posts_per_page'         => '-1',
);

// The Query
$query = new WP_Query( $args );