Hi, I’d like to display the vendor’s location in the vendor details page. https://weliveinus.com/vendors/vendor-1/ I saw some of your replies so I tried to use Posts Form Location Finder, but not sure how to give the ACF value (address) to display in the map. In the composer I can only edit the taxonomy…Did I use this correctly? If not, how can I display the vendor’s location in the map?
I have google map API ready.
Hi,
You must add your Google API for the location at https://forum.tagdiv.com/use-google-maps-api/.
You can find the posts/cpt in Directories https://i.imgur.com/lb3cpnh.png -> https://i.imgur.com/bn0HF6f.png or you can create taxonomies for locations and set it -> https://i.imgur.com/02H0nMK.png
Thank you!
I used Post Forms Location Finder in the ‘create a listing’ page and set the taxonomy as location; then I used Single Post Location Display in the ‘listing detail’ page to display it. Both worked fine.
My question is, how do I show the detailed address? I used to have ACF to let the user input the address, but now with this ‘Post Forms Location Finder’, the address should be already stored. I just don’t know how to display it.
Another question is how to display the location name (city) in another language(translation). https://snipboard.io/0YTGrt.jpg It’s not possible to manually translate all the possible locations that users might input, so I’m wondering if this is something can be set with Google Maps?
Thanks!
Thanks!
Hi,
So I understand that you have stored the address in an ACF, right? And now you want this address to be assigned in the posts form location, right? Unfortunately, if you want that, only custom can be done there, because a connection must be made between the two https://tagdiv.com/web-development-services/
Also, for names of cities you can’t integrate them with Google Maps.
Thank you!
Sorry for the confusion. ACF was what I used before I figured out how to use Google API. Now I don’t use ACF. The address is given by Post Forms Location Finder when I create a listing with that element. However, when I click a listing, I can only show the location in Google Maps with Single Post Location Display element. I want to show the address too.
can you also implement other providers in the future? Openstreetmaps for example. Thanks
Hi,
If you referring to having like here https://i.imgur.com/CjAIwO9.png, then here is used a custom field to display the address.
So, you need to have it stored in a custom field to display the full address.
Thank you!
Hi,
If you referring to having like here https://i.imgur.com/CjAIwO9.png, then here is used a custom field to display the address.
So, you need to have it stored in a custom field to display the full address.
Thank you!