WP Rentals Help WP Rentals Help

  • Client Support
  • Video Tutorials
  • WpRentals
  • WpEstate
  • API
Home / Advanced Search Options, WP Rentals Theme Options / How to manage the listing location with theme autocomplete in WpRentals

How to manage the listing location with theme autocomplete in WpRentals

4943 views
How to manage the listing location with theme autocomplete in WpRentals Watch Video on Youtube

WpRentals offers three ways to set location:

  • Google Places or OpenStreet Places AutoComplete
  • Theme auto save location based on saved property location details
  • A dropdown selector

In this guide we will explain how to manage the listing location with theme autocomplete system.

Configuring Theme Autocomplete

1.Adjust Theme Autocomplete Settings

  • Navigate to Admin > WpRentals Options.
  • Go to Search > Location Field Search Settings
  • Disable the option to Use Google Places or Open Street Places for Location Field in Search?  (set NO)
  • Locate Use Dropdowns for data saved from properties in Location Search Field?
  • Choose between:
    • No (Allows users to type in cities and areas as free fields).
    • Yes (Displays pre-defined drop-down selection).
  • Click Save Changes.

2. Configure Submission Form for Theme Autocomplete

  • Navigate to Admin > WpRentals Options > Search > Location Field Search Settings
  • Locate Use Dropdowns for Cities and Areas in Submission Form?
  • Choose between:
    • No (Allows users to type in cities and areas as free fields).
    • Yes (Displays pre-defined drop-down selections for cities and areas).
  • Click Save Changes.

Using Theme Autocomplete in Submission Form

  • Locate Use Dropdowns for Cities and Areas in Submission Form?
  • Choose No (Allows users to type in cities and areas as free fields).

  • Go to User Dashboard > Add New Listing.
  • Fill in the mandatory fields.
  • In the City field, manually type the city name.
  • Manually enter the Neighborhood.
  • Select the Country from the drop-down list.

  • Complete the location listing details – County And State
  • Complete the remaining listing details and publish the listing.

Using City and Area Dropdowns in Submission Form

  • Locate Use Dropdowns for Cities and Areas in Submission Form?
  • Choose Yes (Displays pre-defined drop-down selections for cities and areas).

  • Add Cities and Areas in Wp-admin -> Listings -> Cities and Areas. More here

  • Go to User Dashboard > Add New Listing.
  • Fill in the mandatory fields.
  • Select the City from the dropdown.
  • Select Area from the dropdown
  • Select the Country from the drop-down list.

Note: Cities and Areas are independent

  • Complete the location listing details – County And State
  • Complete the remaining listing details and publish the listing.

Generating Data for Theme Autocomplete

  • The City and Area are saved as listing property categories / taxonomies and as a autocomplete date.
  • County, Country and State fields will save as autocomplete date
  • The file with autocomplete data updates itself once a day (for performance)
  • To instantly display new property details in the autocomplete location in form, manually generate the data from Map Configuration > Generate Data & Pins
  • Click Save Changes. Refresh the page. Autocomplete file is generated

Searching for Listings Using Theme Autocomplete

  • Go to the Homepage.
  • Enter a location (e.g., London) in the Search Field.
  • The manually added city and area will appear in the drop-down.
  • Select the location and click Search.
  • The matching listing will appear in the results.

Searching with Location Dropdown Enabled

  • Enable Use Dropdowns for data saved from properties in Location Search Field?

  • Select the property location in the search form from the dropdown

Configuring Search Form with the location field

The settings for  theme autocomplete search will apply to all search forms that support location.

The following search forms are available in the WpRentals theme, and you may use them in any setup you wish with the Location Field search:

Hero Media Search (available in 5 variations). More here

  • Type 1 – Vertical Search – Default fields.
  • Type 2 – Horizontal Search – Default fields.
  • Type 3 – Horizontal Search – Custom fields.
  • Type 4 – 3 default fields (title keyword, category 1, category 2) + custom fields.
  • Type 5 – Vertical Search – Custom fields.

Each of these variations  may show as

  • Mobile Search
  • Search Shortcode
  • Search Widget

Half Map Layout Search

  • This form is configured exclusively with Custom Fields.

Search Form Builder in Elementor

  • This form is configured exclusively with Custom Fields.

In these search forms, the location field can appear as:

  • Default Field (“Where do you want to go?”)

Custom Field (“Location”)

Elementor Search Form Builder Field – Location

Advanced Search OptionsWP Rentals Theme Options

Related Articles

  • Theme Options -> General -> Orphan Listings
  • Theme Options -> Payment Currency Settings
  • Enabling Multi-Selection for Property Categories | Taxonomies in the Search Form
  • Booking: How to work with Deposit Fee and Service Fee

HELP CATEGORIES

  • 61. General
  • 102. Installation & Basic Setup
  • 93. Installation FAQ
  • 394. How Booking Works
  • 145. User dashboard pages
  • 20Advanced Search Options
  • 3Blog Post
  • 9Custom Page Templates
  • 18Elementor Compatibility
  • 13Email Notifications
  • 19FAQ
  • 10Menu Options
  • 26Multi-Languages - 3rd party
  • 9Owner
  • 25Property / Listing
  • 21Shortcodes
  • 11Submit Form
  • 4Supported Maps
  • 93Technical how to
  • 5Third Party plugins
  • 3Translation
  • 13Widgets
  • 2WooCommerce Payments
  • 13WP Rentals Payment
  • 77WP Rentals Theme Options

Join Us On

Powered by WP Estate - All Rights Reserved
  • Client Support
  • Video Tutorials
  • WpRentals
  • WpEstate
  • API