Is there any plugin/ any function that I can use to change the functioning of search. What I am looking for is , if I have to search for “Great tutorials”, if I simply enter – Great tutorials it will result all post with the words great and tutorials, but not the exact match.
If I add quotes, it will result in exact match. Is there any function or hook I can write to give exact match even if there are no quotes.
I have seen that if I edit wp-includes/query.php (where it checks If a search pattern is specified), it is possible. But editing core files is not recommended.
Any help is very much appreciated.
- The topic ‘WordPress search function’ is closed to new replies.