jamesK
Support threads created in the last 30 days: 0
Favorite Forum Topics
This user has no favorite topics.
Forum Topics Created
Status | Topic | Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
Distance filter not working correctly
Started by: jamesK
in: Toolset Professional Support
Problem: I am trying to set up a distance filter in a custom search View with a map, but the distance filter isn't working like I would expect. Site Users cannot select the distance radius in the filter, nor can they select the distance units (mi/km). If I manually update the URL to include the appropriate parameters, the distance filter begins working. Solution: When using the inputs_placeholder attribute in the wpv-control-distance shortcode, you should always include the %%DISTANCE%% keyword in its contents. Otherwise the filtering system will not work correctly. You can use CSS if necessary to hide the distance and units filter inputs: [wpv-control-distance default_distance="20" default_unit="mi" compare_field="map-address" distance_center_url_param="toolset_maps_distance_center" distance_radius_url_param="toolset_maps_distance_radius" distance_unit_url_param="toolset_maps_distance_unit" inputs_placeholder="<span style='display:none;'>Show spaces within %%DISTANCE%% of </span>%%CENTER%%"] Relevant Documentation: |
2 | 16 | 5 years ago | ||
"Order by > as a distance from > URL Parameter" + "Sorting Controls"
Started by: jamesK in: Toolset Professional Support |
2 | 2 | 5 years, 8 months ago | ||
Use map to update or filter results / Search as I move the map
Started by: jamesK in: Toolset Professional Support |
3 | 4 | 6 years ago | ||
Cred changing post data even if user doesn't complete checkout
Started by: jamesK in: Toolset Professional Support |
3 | 11 | 6 years, 1 month ago |