I want to show the distance only when there is a location from a custom field. So I was trying to use the [wpv-conditional] but I can't get it to show. Not using the conditional it works fine. But I want to hide it when the distance value is empty.
This is the code I tried.
Hi Shane,
Thank you.
Unfortunatly that will not work as the member_address field is never empty as this is the address field for maps.
So I need a way to check if the toolset-maps-distance-value is set or not. Or to see if the location filter (form field: toolset-maps-distance-center) is populated...
Thank you Shane.
That pointed me to the right solution.
I am now using [wpv-conditional if="('[wpv-search-term param="toolset_maps_distance_center"]' ne '')"] and that works fine!