Hello,
I have read many articles and explanations.
I have managed to create 2 different custom types, and relation ship and to display them.
But I don't understand how to make a custom search with geolocation
We want
> on the home page a search box to put the address
and to display below the related agencies and if possible, also, the consultants linked to these agencies
Both are created as custom types and populated with address field.
> on the agencies page
a map with all agencies and the possibility to filter by geolocation entered by the user.
I followed all the step by step guides but I do not manage to do that.
The site is built with WP/OceanPro/ElementorPro
I have installed Toolset Map & google API
You can view the site still in construction here
- private -
Thank you very much in advance for your help,
Kind regards
Marie
Hi, I was able to log in but my User account does not have access to the Toolset menu so I cannot check the settings for your Views. Can you give me a higher access level in wp-admin? I am removing the login credentials from public view here.
Hello
Thank you for looking at it,
I have put your user as contributor, I hope it is enough.
In the meantime, we have managed to show all agencies on one page "nos agences" but
> we do not know how to display all results below and to filter when user fills his location
and still
> on the home page how to display the search box to put the address
and to display below the related agencies and if possible, also, the consultants linked to these agencies
Thank you very much for your help
Kind regards
Marie
No, unfortunately a Contributor is not able to access the Toolset menu to check View settings. An administrator role is best.
we do not know how to display all results below
and still
To display results below the map, add content in the View loop using the Fields and Views button like this:
<wpv-loop>
[wpv-map-marker map_id="map-6" marker_id="marker-6" marker_field="wpcf-property-address"][/wpv-map-marker]
[wpv-post-link]<br />
[wpv-post-status]<br />
... etc ...
</wpv-loop>
and to filter when user fills his location
In the View editor, find the "Search and Pagination" editor panel. If you cannot see it, scroll to the top right corner and click "Screen Options" to activate the Search and Pagination editor. Place your cursor in the editor and click "Add filter" to add a distance filter. More information about distance filtering: https://toolset.com/documentation/user-guides/display-on-google-maps/displaying-markers-on-google-maps/#filtering-markers-by-distance
on the home page how to display the search box to put the address...and to display below the related agencies and if possible, also, the consultants linked to these agencies
Let's keep this ticket focused on the agencies page: hidden link
I will split these other questions into a separate ticket. We have a one topic per ticket support policy to help keep things organized.
Thank you very much for helping us setting the website. Your help was very helpful. We still have room for improvement but the first steps are good. Thank you.