Enable custom fields
To enabled custom fields navigate to Theme Options > Search > Advanced search form and setup yes to the option Use Custom Fields For Advanced Search.
Set how many fields to show
This options works ONLY with custom fields enabled.
The options to setup Number of search fields and Number of search fields per row can be found on Theme Options > Search > Advanced search form
The maximum number of rows supported in the search form is 4, but you can also select 1, 2 or 3 fields.
Notes: After you set up the no of search fields and no of search fields per row you must Save Changes, then Refresh the page to get the number of form fields according to your setup.
Setup the Fields you wish to use in the Advanced Search form
In Advanced Search, you can add your custom fields.
The search form fields are setup on Theme Options > Search > Advanced search form on the Search Custom Field Setup section.
Below is the list of fields that can be used in the search form.
Location Field
Location fields searches properties by their Address, State, City, Area or Zip Code.
In Theme Options your search form must include the wpestate location field and use LIKE for compare.
Note: Location title is modified from .po files. You can use Loco Translate plugin to rename this label.
To show only the location field on the homepage set YES this option -> On Home page – Show only location field
Property Taxonomies: City, Area, State, Type, Category
In your search form setup you can add as dropdown any of these property taxonomies:
- property types,
- property categories,
- property county/state,
- property areas,
- property cities
Set LIKE for compare for any of these options.
Country
The country field was originally designed to allow users to select their default country (which shows automatically in Add Property) and allows selecting the property location on the map (latitude and longitude).
The field was not created to be allowed on a multi-country platform and for that reason, Country is independent from States, Cities and Countries and will show all countries automatically.
The list of countries is visible in Theme options > General > General Settings and Add Property pages.
If you wish to property country field must have LIKE for compare in your search form. Countries will show as an independent dropdown (it doesn’t filter specific states, cities or areas).
Bedrooms, Bathrooms, Rooms
Bedrooms, Bathrooms and Rooms are default property fields.
You can choose to show these fields as dropdowns by enabling the option Show Dropdowns for beds, bathrooms or rooms? from Theme Options > Search > Advanced search form.
When you add these fields to the search form you can use EQUAL, GREATER or SMALLER for compare as in the below screenshot.
Property size and Property lot size
Property size and property lot size are default numeric fields. On custom search form setup for these fields, you can use EQUAL, GREATER, or SMALLER for compare and you must add the label for each field.
On the site front end, the field is input type. Users must type numbers to get accurate results.
Property zip
Zip is a default text field. On custom search form setup for property zip field you must use LIKE as compare.
Title Keyword
Keyword field works only for Property Title.
If you add this field, on custom search form setup for keyword field you must use LIKE for compare.
Property ID automatically created by WordPress
If you add this field, On custom search form setup for property id field you must use EQUAL for compare.
Note: This field does not work with AJAX search (instant results). It can create conflicts with other fields, such as keyword search.
Property ID manually created in theme options
Step 1: First Remove the Automatic ID from front end – Property Page with this CSS.
#propertyid_display{
display:none;
}
Step 2: Next, you must create the manual id field – numeric field. This is a comprehensive help article for how to add Property Custom Fields.
Step 3: Add field to the search form and use EQUAL as compare if you use it as a numeric field.
Dropdown custom field
Dropdown custom field must be created first in Theme Options – Listing Custom Fields. This is a comprehensive help article for how to add Property Custom Fields.
For Dropdown custom field type you must use LIKE for compare.
Text Custom Field
Your text custom field must be created first in Theme Options – Listing Custom Fields first. This is a comprehensive help article for how to add Property Custom Fields.
As you build your search, select yourTEXT custom field type and use LIKE for compare.
Number custom field
On custom search form setup for Number custom field type you must use EQUAL, SMALLER or GREATER for compare.
Your Number custom field must be created first in Theme Options – Listing Custom Fields. This is a comprehensive help article for how to add Property Custom Fields.
Date Custom Field
On custom search form setup for Date custom field type you must use DATE GREATER or DATE SMALLER for compare.
Set a Price Slider in the Advanced Search
Step 1 Navigate to Theme Options > Search > Advanced search form. Enable the price slider. Set Show Slider for Price -> YES
Step 2: Set the min and max values in Advanced Search Settings.
Step 3: In the search form setup you must have 1 field with the property price field as in this screenshot. Set EQUAL for compare.
Set a Price as input field in the Advanced Search Form
If you wish to disable price slider and use input for minim price and maxim price you must follow these steps:
Step 1: Navigate to Theme Options > Search > Advanced search form Disable price slider. Set Show Slider for Price -> NO
Step 2: Add in the advanced search custom fields the following 2 fields for property price:
Front end view
Set search by geolocation and radius
You can add geolocation and radius fields and properties will by found by their map location based on the settings you add to Radius.
Set Amenities and Features
Navigate to Theme Options > Search > Advanced search form and locate the panel below on which you have the option to enable option to show amenities and features fields and select which features and amenities show in search.