Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter alex46

    (@alex46)

    Sorry it’s my mistake, i have adverts_location and adverts_concelho , i need to do that for concelho and not for city, to be more detailed what’s the exact street. Can you help me?

    Plugin Author Greg Winiarski

    (@gwin)

    I am not sure what is adverts_concelho, is it a custom field? If so then MAL add-on cannot use it to geolocate address, it can use only the builtin location fields.

    To have exct address you would need to enter location using Google Autocomplete as shown in this image https://wpadverts.com/wp-content/uploads/2016/01/wpadverts-demo-gac.gif

    Thread Starter alex46

    (@alex46)

    Yes , it’s custom field, it’s like adverts_location -> City and adverts_concelho -> Street
    I can’t use Google Autocomplete coz i have filters to search default street, if i put that, will don’t have same name in search filters…

    Plugin Author Greg Winiarski

    (@gwin)

    Note that when using Google Autocomplete you can fill the street address as well, this the best (or rather the only way) to do it if you want the maps to show a correct location.

    Using a custom field for street address will not work as MAL plugin is not aware that this is location field.

    As for search, the street address is being saved in _adverts_mal_address meta field, you can customize the search to look in _adverts_mal_address instead of adverts_concelho.

    Thread Starter alex46

    (@alex46)

    can you help me to put that in profi search form?
    i want to filter google autocomplete input

    Thread Starter alex46

    (@alex46)

    It’s possible to dropdown in adverts_add only if selected for example:
    If user select in other custom field Lisbon only show streets of lisbon..
    If selected of Madeira Island only show street/address of madeira island..
    It’s too confused show everything in same time….

    Thread Starter alex46

    (@alex46)

    Possible to place only the district cities we choose ? Imagine that a user wants to announce put announcement of Lisbon and appears in all districts of Portugal . I want If we select Lisbon appear all areas of Lisbon nothing more ..
    I’m using dropdown list

    Plugin Author Greg Winiarski

    (@gwin)

    I am not sure what do you mean, if you are filling the locations using Dropdown, that is the “Location Field” is set to “Dropdown filed with Location taxonomy.” then you can predefine in wp-admin panel what locations will be visible when selecting location in [adverts_add].

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Maps And Locations Problem’ is closed to new replies.