Skip Navigation

[Resolved] I want to get results that are greater or less than the selection.

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.

This topic contains 1 reply, has 2 voices.

Last updated by Christopher Amirian 1 year, 8 months ago.

Assisted by: Christopher Amirian.

Author
Posts
#2598283

Tell us what you are trying to do?

Hi,
In the toolset view filter, I want to get search results that are greater than or less than the selection in Select.
ex)
- 50 points or less, 60 points or less, 70 points or less
- Level 1 or higher, Level 2 or higher, Level 3 or higher

How can this be implemented? The plugin is using Toolset Views.

Any suggestions would be appreciated.

What is the link to your site?

hidden link

#2598603

Christopher Amirian
Supporter

Languages: English (English )

Hi there,

There is no out-of-the-box option to implement such a feature in Toolset.

Instead, you need to custom code a PHP function that will be triggered on wpv_filter_query hook of Toolset.

For more information:

https://toolset.com/forums/topic/how-to-search-for-value-in-a-range/#post-1455297

https://toolset.com/documentation/programmer-reference/views-filters/#wpv_filter_query

Thanks.