CONTENT

In this video, you will learn how to manage the Advanced Search settings. You will learn how to enable/disable the search form, how to enable/disable Google Autocomplete for the Location field in search, and other details. Watch Video on Youtube

What to check first

For search redirect to work, permalinks must be set to custom and you must have the Advanced Search page template created!

advanced search results page

Advanced Search Settings area is available in Theme Options:

1. Show Advanced search globally

This option enables or disables the option to show search in header media in all pages/posts.

If the option is set to NO, the header media will show no search.

  • If the option is set to YES, the search will show over header media (no matter what search type you select)

2. Show Advanced search over header media type: Listing Slider, Rev Slider, Images or Video.

  • To show search over header media type: theme slider, image, video, or revolution slider, enable this option 2.

3. Use on-demand pins when moving the map

  • You can enable or disable the option to use on demand pins when moving the map. If enabled, when moving the map, the properties in map view automatically show on the list from the right.
This feature applies only for Properties List Half and Advanced Search results half map style pages.
If using a zoom value that is too high (see continents) the number of pins may not count correctly.

half map pins

  • If the properties available in view are listed on more than 1 page, the map shows the number of properties available on one page only. The rest of the pins show when changing pagination

pins per page

  • No of properties per page is set in theme options:

  • When using this feature – and moving the map, the address field will be disregarded and pins show based on the visible google maps area. The rest of the fields selected will apply to the results:

move map

4. Use Google Places auto-complete for location search field

  • Location can be set as input style with google places auto-complete.

Applies for:

  1. Search Type 1 – vertical with default fields
  2. Search Type 2 – horizontal with default fields
  3. Search Type 3 – horizontal with custom fields IF Location field is added to search custom fields
  4. Search Type 4 – horizontal with 3 default fields (title keyword, first and 2nd category) + custom search fields) IF location field is added to search custom fields

Demo: https://main.wprentals.org/

 

  • If you use Google Places auto-complete, the front end submission form looks like this.

auto-complete search

  • The search location field looks like this:

auto-complete search front end

For Google Places search to work, properties should be submitted in the front end (for data to match as it is saved in Google Places).
Please add all your properties from front-end submission form. To restrict submission to certain users, please see this help – http://help.wprentals.org/2016/02/03/how-to-allow-only-certain-users-to-submit-properties-in-front-end/

5. Use Theme Places for location search

  • Set to NO the option to use Google Places and select Location to be input style with theme autocomplete or dropdown style.

Applies for:

  1. Search Type 1 – vertical with default fields
  2. Search Type 2 – horizontal with default fields
  3. Search Type 3 – horizontal with custom fields IF Location field is added to search custom fields
  4. Search Type 4 – horizontal with 3 default fields (title keyword, first and 2nd category) + custom search fields) IF location field is added to search custom fields

a. Input style with theme auto-complete

Demo: https://demo1.wprentals.org/

2. Location as drop-down showing all cities, areas, countries, states, and counties from properties published in theme database

Demo: https://santorini.wprentals.org/

6. Show Cities and Areas with 0 listings

This option applies to:

  • Search by location with theme places (dropdown style)

  • Search by location with theme places (input / select style)

  • Properties List Standard filters

  • Search by City or Area as independent drop-downs (for search type 4 or 3)