WordPress search function (1 post)

  1. Gisha James
    Posted 4 years ago #

    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.

    Thank you

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.