Skip Navigation

[Resolved] A couple more questions

This support ticket is created 3 years, 10 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 1 reply, has 2 voices.

Last updated by Luo Yang 3 years, 10 months ago.

Assisted by: Luo Yang.

Author
Posts
#1927245

Hello,
Ok I am just about there, although I have found the using the views to be buggy and frustrating. In one instance I deleted the Custom Search from a View and it kept reappearing, when viewing the View with HTML it was not there. Another instance I had a View that was only supposed to show the Custom Search also show the View Results.

1. A couple more questions. Is it possible to sort the results by distance.
2. In the map popup, is it possible to use shortcodes? I would like to show a field only if it meets a certain criteria.

Thanks
Kevin

#1927497
orderby-distance.JPG

Q1) Is it possible to sort the results by distance.

Currently, this option is not available in Blocks editor, but it is possible with Classic editor, I have setup a demo in your website, see it here: section "Ordering"
hidden link

See my screenshot orderby-distance.JPG

Q2) Yes, it is possible with [wpv-conditional] shortcode, see our document:
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-conditional