On, hidden link , I have a tab to "Show What's Near".
I want to filter and only show what is 0.5 miles from the address of the current post.
It might be easier to see the issue on this simple page.
hidden link
In the Query Filter, I selected "Distance center is set using shortcode attribute". I tried using the following:
address
field='address'
[types field='address']
Nothing works. Any suggestions?
The login info for the site is in another open ticket that I have.
Thanks
Lee
Dear Lee,
Thanks for the details, I can get your website credentials in your another thread:
https://toolset.com/forums/topic/distance-value-missing-in-fields-and-views-insertion-dialog/#post-1144243
And have done below modification in your website:
1) Edit the view "Map Test":
hidden link
Edit the distance filter, option "Filter Radius", setup as 1 mile, in order to test the result, we need a little big radius range.
2) Edit the page "Map test":
hidden link
Change the shortcode from:
[wpv-view name="map-test"]
To:
[wpv-view name="map-test" address="{!{types field='address'}!}{!{/types}!}"]
Please test again, check if it is fixed, thanks