• Hello,

    Thank you for this wonderful plugin. I have one issue to be solved, now. I am hoping that you could help me a bit.

    I would like to impletement, autocomplete keyword on my wordpress search, and I happen to find this 1 particular plugin that would do the job, called “Search Autocomplete

    It has, it own setting, but apparently the search result did not match on the autocomplete result and better search result (i like the better search result better). Any chance you know how to combine, this 2 plugin. Possible maybe how to configure the setting page. I know autocomplete has it own integration setting with relevanssi but, that plugin are quite a mess. Each update, makes me struggle just to keep it running without error.

    So, if you could help me, I really appreciate it a lot.

    Thank you,
    Dhavid

    https://ww.wp.xz.cn/plugins/better-search/

Viewing 1 replies (of 1 total)
  • Plugin Author WebberZone

    (@webberzone)

    Hi,

    I looked at the code the Search Autocomplete uses and I don’t see a way to overwrite the query that the plugin uses to fetch the results. However, I am not very familiar with that plugin.

    May I suggest if you ask the author to
    a) Either add support to Better Search. You can get the query results of Better Search using the below two lines:
    https://github.com/ajaydsouza/better-search/blob/master/better-search.php#L184

    $matches = get_bsearch_matches( $search_query, $bydate );		// Fetch the search results for the search term stored in $search_query
    	$searches = $matches[0];		// 0 index contains the search results always

    b) Suggest a way to overwrite the query results with some filter so that I could give a code snippet to potentially overwrite the search results array.

    Ajay

Viewing 1 replies (of 1 total)

The topic ‘Help Combining with Search Autocomplete Plugin’ is closed to new replies.