Some Post Types, like Properties, for example, have sliders in their search widgets that allow a user to select a range of values for the price. By default, the price slider for Properties has a minimum value of $0 and a maximum value of $5,000,000 as shown here:
Users can then click on these values and slide them to the left or right to change the range of values they are searching for. For example, here is a search for a more specific range of values:
To change the default minimum and maximum values of this slider, follow these steps:
- Login to the Admin area of the website and navigate to Content - Edit Post Settings:
- Click on "Edit" for the Post Type you wish to edit.
In the "General Settings" tab, scroll down to the Additional Settings and look for the "Price Slider Max" fields:
Enter the minimum value in the "Price Slider Min" field and the maximum value in the "Price Slider Max" field. In this example, the minimum will be $50,000 and the maximum will be $1,000,000. Note: Enter the values only, without commas, periods, currency symbols, or any other characters:
Click on the "Save Changes" button at the bottom of the screen.
Now, the search widget for this Post Type (which already had a price slider built in) will reflect the new minimum and maximum values:
NOTE: If the admin does not want the Price Slider to be displayed on the post sidebar search module, set the minimum and maximum value in the Price Sliders fields to "0".