Video for Advanced Property Search Custom fields setup:
How to enable custom fields:
Set how many fields to show
Works ONLY with custom fields enabled, set on YES and it’s managed from the same page
Notes:
- To enable Tabs in Search and select what Tabs categories to display you must first enable Type 6 or Type 8
Help for search type 6 – http://help.wpresidence.net/article/1-18-advanced-search-type-6/
Help for search type 8 – http://help.wpresidence.net/article/advanced-search-type-8/
What Fields to add in Advanced Search Setup
In Advanced Search, you can add your custom fields. Check the details below.
Enable Location Field
Starting version 3.3 we have the following location field for Address, State, City, Area or Zip Code.
In admin the field is set as in the screenshot below.
You can show only location field on homepage with the option highlight in red.
1. Property Taxonomies: City, Area, State, Type, Category
Property Taxonomies must have LIKE for compare.
- Cities,
- Areas,
- State,
- Type,
- Category
The search fields titles are not modified in this area. You can edit them with POEDIT (see the Translation Chapter) – http://help.wpresidence.net/article/translation/
Bedrooms, Bathrooms, Rooms
- Default fields Rooms, Bedrooms, Bathrooms – are number type.
- You can use EQUAL, GREATER or SMALLER for compare.
- You can type the title in the Label field.
- You can choose to show these fields as dropdown from settings or keep them as input style fields
Country
Country Field must have LIKE for compare and it’s an independent dropdown (it doesn’t filter specific states, cities or areas)
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 Country and will show all countries automatically.
The list of countries is visible in General Settings and Add Property pages.
Help to change the list – http://help.wpresidence.net/article/how-to-remove-countries-from-the-dropdown/
In front end country will show all countries as independent dropdown
Title Keyword
Keyword field works only for Property Title.
If you add this field – you must use LIKE for compare.
Dropdown custom field
- First, add this field in Custom fields
- Dropdown custom field type must have LIKE for compare.
- These fields are added first in Theme Options – Listing Custom Fields.
6. Text Custom Field
- First, add this field in Custom fields –
- TEXT custom field type must have LIKE for compare.
- These fields are added first in Theme Options – Listing Custom Fields. See the chapter for this topic separately.
7. Number custom field
- First, add this field in Custom fields –
- Number custom field type must have EQUAL, SMALLER or GREATER for compare.
- These fields are added first in Theme Options – Listing Custom Fields.
8. Date Custom Field
First, add this field in Custom fields
Date custom field type must have DATE GREATER or DATE SMALLER for compare.
9. Price Slider in Advanced Search
Video Tutorial: http://wpestate.org/wp-residence-set-price-slider/
Step1: Enable the price slider and set the min and max values in Advanced Search Settings.
Step2: Then in the advanced search form, you must have 1 field for price slider set like this:
How to disable price slider and use input for minim price and maxim price:
First, disable price slider:
Then add to advanced search custom fields the following 2 fields:
In front-end price fields are input type:
10. Property ID automatically created by WordPress
This field will not work with search over map. It will display results only in Advanced Search Results page.
Video Tutorial: http://wpestate.org/wp-residence-1-07-add-advanced-search-property-unique-id/
12. Property ID manually created in theme options
First Remove the Automatic ID from front end – Property Page with this CSS.
#propertyid_display{ display:none; }
This ID can be added in Admin when adding/editing property or in Front End submission form when submitting property.
14. Property Size
- This is a default field, number type.
- To set a field for min property size set fields like this
- To set a field for equal property size set the field like this
- To set a field for maxim property size set the field like this
- In front end the field is input type. Users must type numbers to get accurate results:
15. PROPERTY ZIP
Zip is a text field. In advanced search the field must be set up like this:
In front end the field will be input type:
What to check if search doesn’t return the correct results
- 1. Add a new category. Type Name
- 2. LET WORDPRESS CREATE THE SLUG (title and slugs must always match for search results to be accurate). This way search will work with pins correctly.

IMPORTANT:
- Search type 2, 8 10 and 11 (that with auto-complete) will have a pre-defined field.
- The custom fields will show in widget search, shortcode search, half map filters or standard search result. Read about each type in our help:
- http://help.wpresidence.net/article-category/advanced-search-settings/