How to change price increment value in the price slider

 In WP Residence FAQ, WP Residence Help

Because our clients can use the theme for rentals or for sales, we let the price slider increment be a small value. But you can change that easily.

Go to slider_price in js/control.js (line 129 )

Change

step: 100

This is an example value.

Code should be be something like

$( "#slider_price" ).slider({
range: true,
min: parseFloat(control_vars.slider_min),
max: parseFloat(control_vars.slider_max),
values: [price_low_val,price_max_val ],
step:100,

Anna
Co-founder at WP Estate, certified Project Manager, professional WordPress developer.
Recommended Posts
'
Contact Us

We're not around right now. But you can send us an email and we'll get back to you, asap.