WP Rentals Help WP Rentals Help

  • 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

5402 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 change the background color and logo for admin login page
  • How to redirect Instant Booking Button to WooComemrce Checkout Page
  • Tehnical: Redirect to Page Not found/ White screen on listing submission or edit
  • Technical – Invoices from My Bookings

HELP CATEGORIES

  • 61. General
  • 102. Installation & Basic Setup
  • 93. Installation FAQ
  • 404. How Booking Works
  • 145. User dashboard pages
  • 20Advanced Search Options
  • 3Blog Post
  • 9Custom Page Templates
  • 18Elementor Compatibility
  • 13Email Notifications
  • 19FAQ
  • 10Menu Options
  • 26Multi-Languages - 3rd party
  • 9Owner
  • 25Property / Listing
  • 21Shortcodes
  • 11Submit Form
  • 4Supported Maps
  • 93Technical how to
  • 5Third Party plugins
  • 3Translation
  • 13Widgets
  • 2WooCommerce Payments
  • 13WP Rentals Payment
  • 77WP Rentals Theme Options

Join Us On

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