WPRentals Theme Documentation WPRentals Theme Documentation

  • Client Support
  • Video Tutorials
  • WPRentals
  • WPEstate
  • API
Home / Technical how to / How to change the numbers in dropdowns for bathrooms, rooms and bedrooms

How to change the numbers in dropdowns for bathrooms, rooms and bedrooms

6601 views

Half Map Search

File path

wprentals/classes/rentalsSearch.php

This changes value for all dropdowns (r0oms, bedrooms,  bathrooms)

If you wish different values for each dropdown you must add new code as in this example and than change the value to the one you wish for each field

Search type and type 2

Change 15 with your chosen value for the fields you wish to modify

File path – wprentals/libs/help_functions.php

Custom Search Type 3 and Custom search type 4

Change in wprentals/libs/search_functions4.php

$max=10;

Change “10” to your value

Technical how to

Related Articles

  • How to Make a Contact Button Open WhatsApp
  • How to add a new currency in Theme Options for payments.
  • How to Disable WordPress Image Compression and Preserve Original Quality
  • How to Change the Default Categories Icon from Listing Card Unit

HELP CATEGORIES

  • 61. General
  • 72. Installation & Basic Setup
  • 373. How Booking Works
  • 18Advanced Search
  • 17Elementor WPRentals Studio
  • 14Email Notifications
  • 23FAQ
  • 14Installation FAQ
  • 10Menu Options
  • 34Owner & Renter
  • 8Page Templates
  • 23Property / Listing
  • 22Shortcodes
  • 4Supported Maps
  • 98Technical how to
  • 5Third Party plugins
  • 4Translation & Multi Languages
  • 3WordPress Blog Post
  • 13WordPress Widgets
  • 12WP Rentals Payments
  • 79WP Rentals Theme Options
  • 26WPML & Weglot

Join Us On

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