serach by post title code example
Example: search post by post title in wordpres
Code
$args = array("post_type" => "mytype", "s" => $title);
$query = get_posts( $args );
Code
$args = array("post_type" => "mytype", "s" => $title);
$query = get_posts( $args );