Is there a way to limit search to post titles? I know I can modify query.php core file but there must be a way to do it with hooks right?
Thanks in advance!
Here's a filter that'll do the trick. Drop it into your theme's
Most of the code is just copied from the
UPDATE: This code has been updated for WordPress 3.2.1. I'm surprised it even worked before as
Thank you for your interest in this question.
Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.
Would you like to answer one of these unanswered questions instead?