Hi guys, long time no see! Just thinking of starting new website and keep cheking child themes https://dt9.premiummod.com/?skin=directory_food for example and see search by town, city or zip isnt working. Cant find any listing from London or Fulham etc It there a way to set this up in admin or where? Thanks
Iulian
Same issue for me. Made a testing into 2-3 scenarios.
Search by where field does not return any value. Tested with town, county etc.
– website
Iulian
Is somebody actually looking at this posts and answering?
JamesD
@Michal, @Julian
I’m confident there are multiple issues with the searching aspect of the theme(s).
I’d recommend contacting support. Otherwise, we can only wait and see if it’s corrected in a future theme update.
@Julian
“Is somebody actually looking at this posts and answering?
No clue. I do know that I’ve attempted to make several posts in other threads (multiple times), but for some reason they were never posted. Those post titles even show up under my profile for “Recent Posts”.
Iulian
Hello,
Happened to me twice: wrote a message and nothing posted.
The actual issue I discovered as beeing th search parameter.
The search in constructing th url with &zipcode=mangalia
How I can change the construction with &city=mangalia.
Thanks.
Adnan
I think the best way is to change it to a dropdown-list of cities. It used to be a droprdown-list for cities, countries etc .. in early versions of v9, but unfortunately they changed it.
JamesD
“The search in constructing th url with &zipcode=mangalia
How I can change the construction with &city=#8221;
Unfortunately, I find it to be of a deeper issue than just parameters… at least from my experience so far.
Christopher Lee
Glad its not just me – looking forward to some reply.
Anyone explored 3rd party plugin options search via zip or location actually works?
JamesD
@Christopher Lee
“Anyone explored 3rd party plugin options search via zip or location actually works?”
PP theme vals/params are usually quite different, which is why most 3rd party solutions for this type of thing would need to be specific towards the theme, manually integrate to work around issues or only work with their own data/settings setup and not the theme settings. It can be done, just seems to be more involved for the average user to get it working the way one would expect things to work.
I had actually created an Elementor plugin to use with the theme, however the challenge has been with the core functionality changing to where it breaks the process and then it becomes pretty time consuming to track down all the changes to update it after every/every other new theme version. It’s been a couple/few months since I’ve gone over it. After the next version I may go at it again to fix any broken portions (again).
The intention was to come up with a solution where it doesn’t rely so much on the theme so much and/or handle things a little better, but from my experience that’s always been easier said than done with the themes.
Iulian
@JamesD I am afraid that I do not understand.
First of al lthe search specifies: city, town, or zip code. So my understanding is that the actual searcjh takes this into consideration
Second – the search is looking only by zip code. &zipcode=mangalia
Becouse this is how is making the request. And the sistem answers correctly – not fount.
Changing into the same url the parameter with city- &city=mangalia mreturns correct values.
So it is a correct assumption that:
– the search works – since making right request returns correct values
– the request is wrong.
So actually my question is not how ti change the search – but the request.
I assume is something with get_serach_form, but I cannot find-it.
JamesD
@Iulian
On my end it’s more than just the parameters. Using the parameters still does not display the results for me, so that tells me something more involved is going on.
You can change the Hero header within the elementor template and select a style that has the ‘zipcode’ param you’re looking for. (I believe it’s style #31).
Again, apologies for the incorrect name in the previous post.
Iulian
@JamesD. I was about to post the same result.
Yes indeed I found in Elementor\Hero and fount the code.
#038;radius=100&city=mangalia
Now it make the search correctly – is retrieving the corect listing.
Thanks.
JamesD
Glad you were able to get it working Iulian.
Christopher Lee
@Julian – how did you get the city search to work? what settings did you change/edit to make it to work?
If I add a listing based in “Hamilton” (city here in New Zealand), it returns no listings when I search for Hamilton in the town/city or zip code field.
What google api’s did you have enable to make it work? The instructions within the theme are vague at best.
Thank you
Christopher Lee
Also, does your zip code function work?