WP Residence Help WP Residence Help

  • WPRESIDENCE
  • Video Tutorials
  • Client Support
  • API
Home / Technical how to | Custom Code / Technical – Change step in price slider

Technical – Change step in price slider

3702 views 1

How to Change the Price Slider Step

Theme version 5.3.2.1 and newer

  1. Open the parent theme JavaScript file wpresidence/js/control.js.
  2. Locate the function wpestate_enable_slider (around line 4616 in WPResidence version 5.3.2.1).
  3. Inside the jQuery slider configuration block, add a step property immediately after the values definition so it looks like:
jQuery("#" + slider_name).slider({ range: true, min: parseFloat(slider_min), max: parseFloat(slider_max), values: [price_low_val, price_max_val ], step: 1000, ... }); 

Set the numeric value of step to match the price increment you need. The wpestate_enable_slider helper powers the search shortcodes, sidebar widgets, Elementor blocks, and mobile filters, so one update covers all price sliders.

Older theme releases

If you are using a legacy build, the same wpestate_enable_slider function still resides in wp-content/themes/wpresidence/js/control.js. Edit the slider configuration in that location and add the step property exactly as shown above.

Cache considerations

This adjustment modifies a JavaScript file. Clear any plugin, server, or CDN caching layers (including services such as Cloudflare) to ensure browsers download the updated control.js before testing.

Technical how to | Custom Code

Related Articles

  • How to Add Custom Fields to the Login, Register and Forgot Password Forms
  • Technical: Change the Schedule Tour Email Text and the Form Default Message
  • Property list filter customization
  • Technical – How to Change the Minimum Image Dimensions for Property Uploads in WPResidence
MLSImportWordPress IDX Plugin for MLS ListingsImport MLS listings into your WordPress website, customize your property pages, and keep your inventory updated.Start free 30-day trial →

Help Categories

  • 111 Installation & Changelog
  • 19Agent, Agency & Developers
  • 5Blog Posts & Blog Lists
  • 14Footer
  • 38Header
  • 2IDX & MLSImport
  • 23Maps & Location Settings
  • 50Multilingual Websites – WPEstate Translate (Included)
  • 21Pages & Page Templates
  • 4Payments & Monetization
  • 20Property Lists, Categories & Archive
  • 38Property Single Page
  • 32Search & Filtering
  • 170Technical how to | Custom Code
  • 9Technical: Actions and filters
  • 6Technical: Child Theme
  • 86Theme Options & Global Settings
  • 6Theme Translation & Localization
  • 28Third Party Plugins Compatible
  • 16WPBakery Shortcodes
  • 51WPResidence / WPEstate CRM
  • 9WPResidence Elementor Studio
  • 39WPResidence Elementor Widgets
  • 79WPResidence FAQ

Join Us On

Powered by WP Estate - All Rights Reserved
  • WPRESIDENCE
  • Video Tutorials
  • Client Support
  • API