[Resolved] Search bar Autocomplete

Home Forums Support [Resolved] Search bar Autocomplete

Home Forums Support Search bar Autocomplete

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #811096
    Fibercom

    Hi

    Which plugin could be good for have “autocomplete” in the search bar, please? O what can I do (code, etc)?

    Thanks!

    #811413
    David
    Staff
    Customer Support

    Hi there,

    not tested but this one gets a lot of good reviews and the support looks to be proactive:

    https://wordpress.org/plugins/ajax-search-lite/

    #814360
    Fibercom

    Thanks! I downloaded and configure it. It comes with a shortcode. I use Search Bar directly from Generate Press theme. I activate “replace search theme” but it seems no works. How could I make to change the search to Ajax Search Lite plugin, please?

    Thanks in advanced!

    #814720
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Are you wanting to add it to the navigation search? If so, you might need to ask their support if it’s possible to integrate the plugin with a custom search field (without using their shortcode).

    #815281
    Fibercom

    They told me that:

    “If the automatic replacement does not work, then the theme search is probably not using the get_search_form method to print the search bar. In that case, it is unfortunately impossible to automatically change the search box.”

    Generate Press uses get search form method? And if not, which plugin for autocomplete the search I can use that works good with Generate Press, please.

    Thanks!

    #815782
    Tom
    Lead Developer
    Lead Developer

    The search in the navigation uses a custom element: https://github.com/tomusborne/generatepress/blob/2.2.2/inc/structure/navigation.php#L253

    If it’s possible to manually integrate their plugin into the form, we can filter the HTML output to integrate it.

    If not, I don’t believe it’s possible to integrate it into the navigation search. We could insert a regular search form into the navigation, but it wouldn’t look the same.

    #817805
    Ender

    From experience I can say that this plugin makes a lot of database queries and therefore the the website could slow down.

    Good alternatives would be:

    https://wordpress.org/plugins/daves-wordpress-live-search/

    or

    https://wordpress.org/plugins/searchwp-live-ajax-search/

    #817876
    David
    Staff
    Customer Support

    Thanks for sharing your knowledge and alternatives Ender.

    #820703
    Fibercom

    Thanks to all and to Ender in particular. Dave’s WordPress Live Search works really really good!

    #820724
    David
    Staff
    Customer Support

    Thats great to hear. I am sure others will find this very useful. Thanks again Ender

    #896336
    John

    SearchWP Live Ajax Search works in a normal search box but does not seem to work in the navigation bar search.

    Dave’s Live Search does work in the navigation bar search without much setup.

    It hasn’t been updated for quite a long time and the default CSS isn’t very pretty but it does work straight out of the box.

    If you have a problem with it where the results are not showing under the search box but at the bottom of the page then go to the settings (Live Search under Settings menu in WP admin), hit the appearance tab and select one of the style options. Sometimes it doesn’t seem to load any CSS at all unless you do this.

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.