Hi,
I wanted to know, how to make it working, I replaced default search with custom google search plugin
it’s working but dropdown is not working perfectly and I saw in console thr is jQuery errorit seems bec of Id change it’s not working, can u plz guide me how to correct that plz check thr url here https://www.veteranstodayarchives.com
You’ll see in menu.
Thanks
Hi,
Maybe you made a mistake in your modifications, that is why the search is causing errors like that. You could revert the changes and return the search functionality, then test on a local environment and modify the default search. The theme uses the default WordPress search functionality, you could take a look at these guides
– http://www.wpbeginner.com/wp-tutorials/how-to-add-google-search-in-a-wordpress-site/
– http://www.getcooltricks.com/wordpress/replacing-wordpress-default-search-with-google-custom-search-engine/
– https://techwelkin.com/use-search-box-of-wordpress-to-send-query-to-google-cse
– https://firstsiteguide.com/setup-google-custom-search-wordpress/
Thanks
NO, It’s working fine but the dropdown goes away once u click on that,It’s hard to type(This is the main pblm), Plz Check the url I sent u and click on the search Icon
-
This reply was modified 8 years by
veteranstoday.
Hi,
I have inspected the issue, it seems that the click entered in the search input field is detected as being outside of the area. Just like clicking anywhere on the page. The result is that the search will disappear. There are javascript errors each time the search is clicked
– https://www.screencast.com/t/b4fFWoNm
You could try different plugins, the current one seems to cause errors. I cannot say what needs to be done in this case. The core of the search is based on WordPress, the theme ads design and that is conflicting with the plugin you are using.
Thanks
I have updated the tutorial in detail with the new codes and how the search box is rendered. The code to render the search form in Mobile is also updated. Consider checking it here https://www.getcooltricks.com/wordpress/google-cse-integration-to-newspaper-wordpress-theme/. This is fully compatible with the latest version of the theme.
hello, When will you update. Not working… very thanks