Relevanssi show only 1 result

Try selecting “always” for fuzzy matches in the preferences. In the default setting, if search finds only 1 result, fuzzy matching won’t get activated.

Search functionality with multiple categories

Sounds like something Relevanssi could handle. With Relevanssi, you’d have the checkboxes to choose the categories. Then, you’d write a function to hook on ‘relevanssi_modify_wp_query’ filter, where you’d read the checkboxes and convert them to a comma-separated list of category ID’s. That you would store in $wp_query->query_vars[‘cats’] and hey presto, Relevanssi gives you relevant results … Read more

Make search result returned only from tags! [duplicate]

You can start with the Search Everything plugin and go from there. It won’t exclude all post title and content, but it will enable searching in tags. Perhaps you can see how they accomplish it and modify from there. I imagine it will entail some direct SQL manipulation via the query filters posts_where, posts_join, posts_request, … Read more

Custom search with meta fields

I think that your main problem is that you are trying to display the results with searchform.php. That is basically just the form for the search, which you don’t need since you have your own form in the sidebar (if I understand you correctly). The results of a WP search are displayed with “search.php“

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)