Starting 1.30 theme update, for Advanced Search and Location there are 4 possibilities:

Location options apply to all the search types supported:

  1. Search Type 1 – vertical with default fields – more here
  2. Search Type 2 – horizontal with default fields more here
  3. Search Type 3 – horizontal with custom fields more here
  4. Search Type 4 – horizontal with 3 default fields (title keyword, first and 2nd category) + custom search fields – more here

1. Location as input style with theme auto-complete

Data from autocomplete sums all details saved for each listing in these fields:

  • City,
  • Area,
  • State,
  • Country

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

IMPORTANT:

  • Due to speed reasons, the data for NON-Google autocomplete is generated 1 time per day.
  • Remember that if you want to manually generate the data, go to map section – Generate Data&Pins.

2. Location as drop-down

Showing all cities, areas, countries, states from properties published in the theme database

Data from dropdown sums all details saved for each listing in these fields:

  • City,
  • Area,
  • State,
  • Country

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

IMPORTANT

  • Due to speed reasons, the data for NON-Google autocomplete is generated 1 time per day.
  • Remember that if you want to manually generate the data, go to map section – Generate Data&Pins.

3. Location as input style with places auto-complete

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

Check places type you have setup in Theme options – Map and add API KEY for it as explained in this help: https://help.wprentals.org/article/google-maps-settings/#places_type
  • If use Google places as places type in search form user will have to select the city based on Google Places auto-complete list as displayed on this screenshot.

For this option to work Google API key must be set correctly – see here the help https://help.wprentals.org/article/google-maps-api-unable-to-load-the-map-and-shows-error-this-page-didnt-load-google-maps-correctly-see-the-javascript-console-for-technical-details-2/
  • If in Theme options – Map for Places option is setup to use algolia in search user will have to select the city based on algolia auto-complete list as displayed on this screenshot:

For this option to work Algolia API key must be set correctly – see here the help : https://help.wprentals.org/article/how-use-algolia-places/

Algolia plans to retire the free version, for the moment, the new free accounts will not work anymore and the old accounts will still have free access until March 2022.

4. Cities and Areas as independent drop-downs

  • The last option applies only for search type 3 or type 4.
  • Cities and Areas can be added as separate dropdowns in admin and they show as an independent dropdown in the search form.

Help:

  1. Search Type 3 – horizontal with custom fields more here
  2. Search Type 4 – horizontal with 3 default fields (title keyword, first and 2nd category) + custom search fields – more here

Search type 3 example:

Search type 4 example with the above fields configuration from admin: