Help for WpEstate - a Real Estate Wordpress Theme Help for WpEstate - a Real Estate Wordpress Theme

  • WpEstate
  • Video Tutorials
  • Client Support
Home / Technical how to / Technical: Change price value step in price slider

Technical: Change price value step in price slider

To change the step size in slider you need to open

wpestate/js/control.js

There you have the function wpestate_enable_slider(); TWICE!!

Add the “step code ” in both places after the value data in the slider creation code. Should have something like

jQuery("#" + slider_name).slider({
range: true,
min: parseFloat(slider_min),
max: parseFloat(slider_max),
values: [price_low_val, price_max_val ],
step: 1000,

Change step:1000 to step 10, or 100 or what is the value you wish

Note: this applies for shortcode, widget, and mobile sliders as well.

 

Technical how to

Related Articles

  • How to add Custom CSS
  • Show portrait images in property slider without crop
  • How to limit the number of results on advanced search results page
  • How to make child theme changes to work with theme Minifiy option enabled

Categories

  • 41. Mandatory Setup Instructions
  • 142. Demo and Content Setup
  • 8Advanced Search Settings
  • 4Agent & Blog Posts
  • 9Change Log
  • 3Child Theme
  • 7Custom Page Templates
  • 3Design Options
  • 1Footer Settings
  • 7Google Maps
  • 6Header / Menu Options
  • 1IDX
  • 4Included Plugins: Rev Slider, Ultimate Addons, Visual Composer
  • 14Knowledge Base
  • 1Other Plugins
  • 2Payment Options
  • 10Property Post
  • 5Technical how to
  • 25Theme Options
  • 6Translation
  • 1Uncategorized
  • 5WpEstate Shortcodes
  • 1WpEstate Widgets
  • 1WPML - optional
Flatbase by NiceThemes © 2023. — Powered by WordPress.
  • WpEstate
  • Video Tutorials
  • Client Support