WPRentals Theme Documentation WPRentals Theme Documentation

  • Client Support
  • Video Tutorials
  • WPRentals
  • WPEstate
  • API
Home / Advanced Search, WP Rentals Theme Options / How to manage the city and area as a dropdown selectors

How to manage the city and area as a dropdown selectors

6468 views
How to manage listing location with City and Area dropdown selectors in WPRentals. Watch Video on Youtube

WPRentals offers several ways to manage listing locations. This help explains only the setup where City and Area are used as dropdown selectors.

With this setup, the site admin creates the available cities and areas in wp-admin, and owners select them from dropdown fields when adding or editing listings.

Important: This setup does not use Google Places, OpenStreet Places, or theme autocomplete suggestions. It uses the Listing City and Listing Area taxonomies created in WordPress.

CONTENT

  • How City and Area dropdowns work
  • Step 1: Disable Google/OpenStreet Places
  • Step 2: Enable City and Area dropdowns in the submit form
  • Step 3: Add City and Area terms
  • Step 4: Select City and Area when adding a listing
  • Step 5: Add City and Area dropdowns in search forms
  • Optional: Enable multi-select for City and Area search
  • Search forms that can use City and Area fields
  • Important notes
  • Related help

How City and Area Dropdowns Work

The dropdown selector setup uses two WordPress taxonomies:

  • Listing City
  • Listing Area

The site admin creates the city and area values in wp-admin. Then, owners and site admins select these values from dropdowns when adding or editing a listing.

This helps keep locations consistent and avoids duplicate location variations such as:

  • New York
  • new york
  • NYC
  • New York City
Important: City and Area are independent taxonomies. Selecting a city does not automatically filter the area dropdown to show only areas from that city.

Step 1: Disable Google/OpenStreet Places

Go to:

WPRentals Options > Search > Location Field Search Settings

Set:

Use Google Places or Open Street Places for Location Field in Search? – No

This keeps the location setup based on the theme City and Area taxonomies, not on Google/OpenStreet location suggestions.

Step 2: Enable City and Area Dropdowns in the Submit Form

Go to:

WPRentals Options > Search > Location Field Search Settings

Find:

Use Dropdowns for Cities and Areas in Submission Form?

Set this option to:

Yes

This makes the City and Area fields appear as dropdown selectors in the front-end listing form.

Step 3: Add City and Area Terms

Before owners can select cities and areas in the submit form, the site admin must create the city and area terms.

Go to:

Wp-admin > Listings, Bookings & More > Listing City

and:

Wp-admin > Listings, Bookings & More > Listing Area

More about Listing City and Listing Area taxonomies

Step 4: Select City and Area When Adding a Listing

Owners and site admins manage listing locations from the front-end dashboard.

Go to:

User Dashboard > My Listings > Add New Listing

or:

User Dashboard > My Listings > Edit Listing

In the listing form:

  • Select the City from the dropdown.
  • Select the Area from the dropdown.
  • Select the Country from the dropdown.
  • Complete the County and State fields, if needed.
  • Complete the remaining listing details and save or submit the listing.

Step 5: Add City and Area Dropdowns in Search Forms

To let visitors search by the same City and Area values, add Listing City and Property Area as search fields.

These fields are added as separate dropdowns.

When configuring the fields, use:

  • Field: Listing City or Property Area
  • Compare Term: like
  • Label: the text you want to show in the search form

Example of City and Area as standard dropdowns in the search form:

Optional: Enable Multi-Select for City and Area Search

If you want visitors to select more than one city or area in search, enable multi-select.

Go to:

WPRentals Options > Search > Categories Multi Selection

Example of multi-select in the search form:

Search Forms That Can Use City and Area Fields

Listing City and Property Area can be used in search forms that support custom fields.

Hero Media Search

Hero Media Search is available in five variations.

Advanced Search Form settings

  • Type 1 – Default Search, hardcoded fields.
  • Type 2 – Default Search, hardcoded fields.
  • Type 3 – Supports custom fields only.
  • Type 4 – Default fields plus custom fields.
  • Type 5 – Supports custom fields only.

Half Map Layout Search

This search form is configured with custom fields, so City and Area fields can be added.

Search Form Builder in Elementor

This search form is configured with custom fields, so City and Area fields can be added.

Important Notes

  • This help is only for using City and Area as dropdown selectors.
  • The setup uses Listing City and Listing Area taxonomy terms created in wp-admin.
  • Google Places or OpenStreet Places should be disabled for this setup.
  • Owners and site admins select City and Area from User Dashboard > My Listings > Add New Listing / Edit Listing.
  • City and Area are independent taxonomies. Selecting a city does not filter the area dropdown automatically.
  • For search, use Listing City and Property Area as separate dropdown fields.
  • Multi-select can be enabled from WPRentals Options > Search > Categories Multi Selection.

Related Help

Google Places or OpenStreet Places autocomplete

Theme autocomplete based on saved listing location details

Listing City and Listing Area taxonomies

Advanced Search Form settings

Half Map Search Form

WPRentals Search Form Builder for Elementor

Advanced SearchWP Rentals Theme Options

Related Articles

  • What Is the WPESTATE FAN Option
  • White-Label WPRentals with Your Brand
  • Orphan Listings and Auto Delete Option in WPRentals
  • Theme Options -> Payment Currency Settings

HELP CATEGORIES

  • 61. General
  • 72. Installation & Basic Setup
  • 373. How Booking Works
  • 18Advanced Search
  • 17Elementor WPRentals Studio
  • 14Email Notifications
  • 23FAQ
  • 14Installation FAQ
  • 10Menu Options
  • 34Owner & Renter
  • 8Page Templates
  • 23Property / Listing
  • 22Shortcodes
  • 4Supported Maps
  • 98Technical how to
  • 5Third Party plugins
  • 4Translation & Multi Languages
  • 3WordPress Blog Post
  • 13WordPress Widgets
  • 12WP Rentals Payments
  • 79WP Rentals Theme Options
  • 26WPML & Weglot

Join Us On

Powered by WP Estate - All Rights Reserved
  • Client Support
  • Video Tutorials
  • WPRentals
  • WPEstate
  • API