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
|show 2 more comments|
This question is protected to prevent "thanks!", "me too!", or spam answers by new users. To answer it, you must have earned at least 10 reputation on this site.