- This topic has 10 replies, 5 voices, and was last updated 3 years, 10 months ago by
John.
-
AuthorPosts
-
February 15, 2019 at 2:40 am #811096
Fibercom
Hi
Which plugin could be good for have “autocomplete” in the search bar, please? O what can I do (code, etc)?
Thanks!
GP Premium 1.7.7February 15, 2019 at 8:55 am #811413David
StaffCustomer SupportHi 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/
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/February 19, 2019 at 4:21 am #814360Fibercom
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!
February 19, 2019 at 8:17 am #814720Tom
Lead 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).
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentFebruary 20, 2019 at 2:45 am #815281Fibercom
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!
February 20, 2019 at 9:52 am #815782Tom
Lead 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.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentFebruary 22, 2019 at 9:15 am #817805Ender
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
February 22, 2019 at 10:33 am #817876David
StaffCustomer SupportThanks for sharing your knowledge and alternatives Ender.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/February 25, 2019 at 5:28 am #820703Fibercom
Thanks to all and to Ender in particular. Dave’s WordPress Live Search works really really good!
February 25, 2019 at 5:49 am #820724David
StaffCustomer SupportThats great to hear. I am sure others will find this very useful. Thanks again Ender
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/May 11, 2019 at 8:59 am #896336John
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.
-
AuthorPosts
- You must be logged in to reply to this topic.