Archived topic
Search function in navigation
7 replies · Started by blitzgeek on November 10, 2019
Hi!
I have a problem with the search element in the navigation.
It only returns the 404 page as the search result.
The regular search widget in the top bar works.
I suppose it is related to the custom CSS used.
Hope you can help me.
Regards
Volker
Blitzgeek web design
Hi there,
CSS shouldn't effect the search - have you added any custom functions to modify its behaviour?
No. Some hooks (and you are familiar with them), i deactivated them, nothing changed. Same with plugins.
Do you need the credentials? I prepared a file, containing the additional CSS and site access.
CSS shouldn't effect the search behaviour. So something else must be effecting it.
What happens if you remove the search widget from the top bar ?
That changes nothing. I placed the top bar widget only to check the search function.
ahh looks like it could be an issue with Polylang and the Nav search.
Try the PHP snippet Tom provides here:
https://generatepress.com/forums/topic/menu-search-not-working-on-en-website/#post-893040
That's it!
Thanks so much David ... and have a nice sunday!
You're welcome - you too