Overview
This help explains the search form fields available in WPRentals and which Compare rule should be used for each field.
The Advanced Search Form controls the search fields used by the theme hero search types and by the Advanced Search Shortcode. Some other search forms, such as the Half Map Search Form and Elementor Search Form Builder, have separate settings.
Where to Find the Advanced Search Form Settings
Go to:
WPRentals Options > Search > Advanced Search Form
Default Search Types
WPRentals includes five hero media search types. These forms show over the theme hero media header.
- Search Type 1 – vertical layout with predefined fields.
- Search Type 2 – horizontal layout with predefined fields.
- Search Type 3 – horizontal layout with custom fields.
- Search Type 4 – horizontal layout with 3 default fields plus custom fields. The default fields are title keyword, first category, and second category.
- Search Type 5 – vertical layout with custom fields.
Search Type 3, Type 4, and Type 5 can use the custom search fields listed in the table below.
How to Configure Custom Search Fields
For Search Type 3, Type 4, and Type 5, you can configure:
- Number of Search Fields – enter the number of search fields you want to display, save the settings, then refresh the page.
- Fields Per Row – choose how many fields show on one row. The available options are 2, 3, or 4 fields per row.
- Custom Fields – select the fields that should appear in the search form.
- How it will compare – choose the correct compare rule for each field.
- Label on Front end – add the label shown to visitors. For taxonomy dropdowns, labels sync with the names added in the Listing Submit Settings.
- Custom Icons – assign FontAwesome icons to search fields, if needed.
Search Fields and Compare Rules
| Search Field | Field Type | Compare Rule to Use | Notes |
|---|---|---|---|
| Location | Location / text field | Like | Used for Google Places, OpenStreet Places, or theme location search. |
| Check-in | Date field | Date Greater | Used for the arrival date. |
| Check-out | Date field | Date Smaller | Used for the departure date. |
| Guests | Number / dropdown | Greater | Shows listings that allow the selected number of guests or more. |
| Listing City | Taxonomy / dropdown | Like | Used when City is added as a separate search field. |
| Property Area | Taxonomy / dropdown | Like | Used when Area is added as a separate search field. |
| Listing Main Category | Taxonomy / dropdown | Like | Used for the main listing category. |
| Second Category | Taxonomy / dropdown | Like | Used for the second listing category or listing type. |
| Property Category | Taxonomy / dropdown | Like | Used for listing category taxonomy search. |
| Property Type | Taxonomy / dropdown | Like | Used for listing type taxonomy search. |
| Listing County / State | Text input | Like | Used for county or state text search. |
| Listing Country | Dropdown | Like | Uses the theme country list. |
| Bedrooms | Number / dropdown | Greater, Equal, or Smaller | Use Greater when visitors should find listings with at least the selected number. |
| Bathrooms | Number / dropdown | Greater, Equal, or Smaller | Use Greater when visitors should find listings with at least the selected number. |
| Rooms | Number / dropdown | Greater, Equal, or Smaller | Use based on the search behavior you need. |
| Beds and Baths Component | Combined component | Equal | Shows listings with the selected number of beds or baths, or more. |
| Price Field – Slider | Price range | Greater | Use the dedicated price slider field. Minimum and maximum values are managed from Advanced Search Settings. |
| Price Field – Input and Slider Component | Price range | Greater | Use the dedicated price component. Minimum and maximum values are managed from Advanced Search Settings. |
| Features and Amenities | Feature list | Feature field settings | Enable the features section and select which features should show in search. |
| Listing Custom Field – Text | Custom text field | Like | Use for text-based custom fields. |
| Listing Custom Field – Dropdown | Custom dropdown field | Like | Use for dropdown custom fields. |
| Listing Custom Field – Number | Custom numeric field | Greater, Equal, or Smaller | Use the compare rule based on whether the search should match higher, exact, or lower values. |
| Listing Custom Field – Date | Custom date field | Date Greater or Date Smaller | Use Date Greater for start or minimum dates, and Date Smaller for end or maximum dates. |
| Zip | Text input | Like | Used for zip or postal code search. |
| Size | Number input | Greater, Equal, or Smaller | Use based on the search behavior you want. |
Location Field
The Location field is used for general location search.
It can work with:
- Google Places
- OpenStreet Places
- Theme location search based on saved listing location details
Use Like for Compare.
- How to manage the listing location with Google Places or OpenStreet Places
- How to manage the listing location with WPRentals location autocomplete
Check-in and Check-out Fields
Use these fields when visitors need to search by booking availability.
- Check-in must use Date Greater.
- Check-out must use Date Smaller.
- Both fields need labels for front-end display.
Guest Field
The Guests field filters listings based on guest capacity.
Use Greater so visitors see listings that allow the selected number of guests or more.
The guest field can work as a simple guest dropdown or with the advanced guest selector, depending on the option selected in Theme Options.
Category, Type, City, and Area Fields
WPRentals taxonomies are managed from:
Wp-admin > Listings, Bookings & More
Common taxonomy search fields include:
- Listing Main Category
- Second Category
- Property Category
- Property Type
- Listing City
- Property Area
Use Like for these fields.
You can enable multi-select from:
WPRentals Options > Search > Categories Multi Selection
County, State, and Country Fields
Listing County / State
Listing County / State is a text input field.
- Use Like.
- Add a label for front-end display.
Listing Country
Listing Country is a dropdown field with the theme country list.
- Use Like.
- Add a label for front-end display.
Bedrooms, Bathrooms, Rooms, Beds and Baths
Bedrooms, Bathrooms, and Rooms as Separate Fields
Bedrooms, bathrooms, and rooms can be used as input fields or dropdowns.
Use one of these compare rules based on the needed behavior:
- Greater – shows listings with at least the selected number.
- Equal – shows listings with the exact selected number.
- Smaller – shows listings with less than the selected number.
To show guests, beds, bathrooms, or rooms as dropdowns, enable:
Show Dropdowns for Guests, beds, bathrooms or rooms?
Then configure the possible dropdown values for beds and baths.
Beds and Baths Component
The Beds and Baths Component combines beds and bathrooms into one field.
Use Equal for this component. The results will show listings with the selected number of beds or baths, or more.
Price Field
The Price Field is used to search by price.
Use Greater as the Compare rule for the dedicated price field.
The price field can be displayed in two versions:
- Price Slider – visitors select a price range with a slider.
- Price V2 Component with input and slider selectors – visitors can type a price or use the slider.
The minimum and maximum price values are configured from:
WPRentals Options > Search > Advanced Search Settings
Features and Amenities
To show features and amenities in the search form, go to:
WPRentals Options > Search > Advanced Search Settings
Then:
- Set Show Amenities and Features fields? to Yes.
- Select the features you want to show in search.
- Save the settings.
Listing Custom Fields
Listing custom fields are created from:
WPRentals Options > General > Listing Custom Fields
The custom fields you create can also be added to Advanced Search forms that support custom fields.
Use the compare rule based on the field type:
- Text custom field – use Like.
- Dropdown custom field – use Like.
- Number custom field – use Greater, Equal, or Smaller.
- Date custom field – use Date Greater or Date Smaller.
Zip and Size Fields
Other default fields that can be added to search include:
- Zip – text input field. Use Like.
- Size – number input field. Use Greater, Equal, or Smaller, based on the search behavior you want.
Search Form Position
You can control the position of the hero media search form from:
WPRentals Options > Search > Advanced Search Display & Position
Other Search Forms Supported by WPRentals
WPRentals also includes other search form options. These forms are separate from the main Advanced Search Form settings.
Advanced Search Shortcode
The Advanced Search Shortcode displays the global WPRentals advanced search form inside a page or post.
The shortcode uses the settings from:
WPRentals Options > Search > Advanced Search Form
Half Map Search Form
The Half Map Search Form appears in Half Map layouts, including Advanced Search Results Half Map, Taxonomy Half Map, and Properties List Half Map.
This form lets visitors search and filter properties without reloading the page. It is managed separately from the main Advanced Search Form.
Elementor Search Form Builder
The Elementor Search Form Builder is a drag-and-drop search form builder for Elementor pages. It allows page-specific search fields and layout.
This form applies only to the Elementor page where the widget is added.
Important Notes
- This help explains the fields available for the WPRentals Advanced Search Form.
- Search Type 1 and Search Type 2 use predefined fields.
- Search Type 3 and Search Type 5 use custom fields.
- Search Type 4 uses 3 default fields plus custom fields.
- Use the correct Compare rule for each field.
- For location and taxonomy fields, use Like.
- For check-in, use Date Greater.
- For check-out, use Date Smaller.
- For guests, use Greater.
- For price, use the dedicated price field and Greater as the compare rule.
- For numeric fields, use Greater, Equal, or Smaller depending on the needed search behavior.
- The Half Map Search Form has separate settings.
- The Elementor Search Form Builder has separate settings for the page where the widget is added.
- The Advanced Search Shortcode follows the global settings from WPRentals Options > Search > Advanced Search Form.
Related Help
- Advanced Search Type 1 and Type 2
- Advanced Search Type 3 and Type 5
- Advanced Search Type 4
- Advanced Search Shortcode
- Half Map Search Form
- Elementor Search Form Builder
- How to manage guest options
- How to manage Property Categories and Taxonomies
- How to add features and amenities
- Advanced Search Form Position
- How to manage the listing location with Google Places or OpenStreet Places
- How to manage the listing location with WPRentals location autocomplete








