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: Removed deprecated
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?