I'm using the standard WordPress search form to search a custom post type. Here is my code:
<form role="search" method="get" id="searchform" action="<?php echo home_url( '/' ); ?>">
<input type="hidden" name="post_type" value="attorney" />
<input type="text" value="" name="s" />
<input type="submit" value="Search" />
</form>
I would like to limit this to ONLY search the post title. Is there a way to do that? Thank you.