get posts only by title wordpress 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 );