Hi,
I need to simplify the control-distance filter, to only have the address-input.
My code so far:
[wpv-control-distance distance_unit_url_param="toolset_maps_distance_unit" distance_radius_url_param="toolset_maps_distance_radius" distance_center_url_param="toolset_maps_distance_center" compare_field="adresse" default_distance="100" distance_center_required="yes"]
According to this thread: https://toolset.com/forums/topic/style-distance-filter/#post-1541623
I remove all buttons and elements but now my only issue is, how to remove "Show results within of"-Text.
If I use the inputs_placeholder="" argument, it dosen't to anything.
If I use inputs_placeholder="..." it also removes the input field.
I can't share a URL; its on a local server.
Best regards,
Christian
Hi Christian
I checked the source code to see how that filter control is generated, and it looks like you can achieve what you want by adding the inputs_placeholders attribute with a value of "%%CENTER%%" to the shortcode, e.g.
[wpv-control-distance inputs_placeholder="%%CENTER%%" distance_unit_url_param="toolset_maps_distance_unit" distance_radius_url_param="toolset_maps_distance_radius" distance_center_url_param="toolset_maps_distance_center" compare_field="address"]
Perfect, it works!
My issue is resolved now. Thank you!