Change the slider range filter limits.

The slider range filter gets limits (min and max) from members data. It searches for members whose values are the least and the greatest and uses these values as the starting and ending points of the slider range.

You can use a code snippet below to change the way the range filter gets limits. With this code the slider range filter will use the related field option "Minimum Number" and "Maximum Number". Just add this code to the file functions.php in the active theme directory.

NOTE: We have created this code example to provide guidance and to make it easier for you to implement this code into your website. However, we are not able to provide any support when it comes to customizing the plugin. If you need help implementing this code, please hire a developer.


Example - The Number field options "Minimum Number" and "Maximum Number".

Example - The slider range filter in the member directory.


Related article: Member Directories 2.1.0+