Tell us what you are trying to do?
I'd like to change the look of the distance filter. I would want the fields of the filter displayed horizontally instead of vertically. Also I would want to change the text "show results within ... of". Then I would prefer if the user didn't have the option to pick between km and miles (just km) so no need for this field.
Another question related to this topic: is it possible to only show the placename in a view instead of the whole address? For example instead of showing "Teslastraat 133, 1098 VG, Amsterdam, The Netherlands" just show "Amsterdam".
For reference, the site is a job board so users wouldn't right away be interested in the full address, just a general location is sufficient.
Is there any documentation that you are following?
-
The address field contains the full text of the address as formatted by the Google API, there isn't a way to display just a part of it.
You would need to pass the address through a custom shortcode which used regular expressions to isolate the part you required, and that would depend on a consistent format for all addresses and would be vulnerable to breaking easily.