- This topic has 10 replies, 5 voices, and was last updated 4 years, 11 months ago by John.
-
AuthorPosts
-
February 15, 2019 at 2:40 am #811096Fibercom
Hi
Which plugin could be good for have “autocomplete” in the search bar, please? O what can I do (code, etc)?
Thanks!
February 15, 2019 at 8:55 am #811413DavidStaffCustomer SupportHi there,
not tested but this one gets a lot of good reviews and the support looks to be proactive:
February 19, 2019 at 4:21 am #814360FibercomThanks! 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!
February 19, 2019 at 8:17 am #814720TomLead DeveloperLead DeveloperHi 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).
February 20, 2019 at 2:45 am #815281FibercomThey 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!
February 20, 2019 at 9:52 am #815782TomLead DeveloperLead DeveloperThe 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.
February 22, 2019 at 9:15 am #817805EnderFrom 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
February 22, 2019 at 10:33 am #817876DavidStaffCustomer SupportThanks for sharing your knowledge and alternatives Ender.
February 25, 2019 at 5:28 am #820703FibercomThanks to all and to Ender in particular. Dave’s WordPress Live Search works really really good!
February 25, 2019 at 5:49 am #820724DavidStaffCustomer SupportThats great to hear. I am sure others will find this very useful. Thanks again Ender
May 11, 2019 at 8:59 am #896336JohnSearchWP 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.
-
AuthorPosts
- You must be logged in to reply to this topic.