Hi Jon,
Does that event have New Zealand set as the country on the Edit Event page?
Yes the event does have New Zealand set as the country in the edit event page.
I have also tried changing the theme to see if that was the problem and it is not.
Jon
I have also noticed that when searching for other countries there are no results returned also.
One more thing, when I select a country from the dropdown menu of the search bar and just press enter. All events in that country show up but still can’t type in a country within the search field and have it work.
Jon
This could be a jQuery conflict. To check if it is, can you test with all other plugins deactivated?
I have deactivated all plugins and it doesn’t change the results unfortunately. Any help would really be appreciated.
-Jon
Did you also test with the default WordPress theme running at the same time?
I can see in the source code of your site that something is loading an old version of the jQuery – that could be the problem
Could you possibly post a screenshot of the code? I have deactivated all of the plugins and switched the theme and this still does not seem to be the case.
Thanks,
Jon
sorry for the confusion but I tried this link http://bachinthesubways.com/events/ and it seems to be working fine?
Hello Angelo,
Thank you for the reply. The search does work when you search for anything other than a country such as ‘australia’ ‘germany’ ‘united states’. I have tried all of the above comments of deactivating all other plugins, switching themes, updating jquery links. Although i have provided the client with the countries dropdown tab, they still wish to be able to search from the search field.
The incorrect jQuery library is being loaded on line 29 of the live source code.
Can you give us an exact example of search that doesn’t work? I’ve just searched for events in New Zealand and Portugal using the country dropdown and it seems to work ok.
Caimin could you please provide an updated jquery library link?
Example:
If you type ‘New Zealand’ or ‘Portugal’ in the search field without using the dropdown tab, you will receive the message ‘no events’ which is where the problem lies.
As a solution to this happening I included the dropdown tab but the client is asking for users to be able to search only through the provided search field.
This will help with the jQuery issue:
http://msyk.es/blog/prevent-jquery-wordpress-theme/
Text in the search field matches against the event title, not against location fields. If you need text to also search through location data you’d need to write some custom code that can do that.