How to Set Up Work Zones and Service Areas for Listdom Listings?
Este conteúdo não está disponível em sua língua ainda.
When setting up a business directory such as plumbing services, super markets, etc., it’s important to show only relevant listings to users based on their location or service area.
Listdom makes this easy through the Locations taxonomy, which allows you to define service zones and connect each listing to one or more specific areas.
This guide explains how to configure work zones for each listing and set up a searchable map for users to find nearby businesses.
Step 1: Define Locations as Work Zones
Section titled “Step 1: Define Locations as Work Zones”You can use Locations as the representation of work zones or service areas.
For example, you can create the following locations:
- Location A
- Location B
- Location C
Each location can represent a city, suburb, or any region where the business operates.
- Go to Listings → Locations in your WordPress dashboard.
- Create new locations that represent each service zone.
- When adding or editing a listing, assign one or more of these locations to the listing.
Each listing will then automatically appear when users filter or search by that location.
Step 2: Display Listings on a Map
Section titled “Step 2: Display Listings on a Map”To visually display listings within their assigned areas, you can use one of Listdom’s map-based skins such as Single Map or Half Map. But before doing that, you need to determine each listing position on the map. Since the locations created in the previous step present an area and not an exact point. If you want each listing to appear in its exact position on the map, you need to specify the exact address for each listing in the Edit Listing form. This allows more precise and interactive location-based searches on your map display. Once you have done this, you can create a skin shortcode to display the listings along with a map:
- Navigate to Listdom → Shortcodes.
- Click Add New Shortcode and choose either the Single Map Skin or Half Map Skin.
- Adjust the display options as needed.
- Copy the generated shortcode.
- Paste the shortcode into a page (for example, your Find a Plumber page).
This will display a dynamic map with markers representing each plumber listing based on their location.
Step 3: Create a Search Form by Location
Section titled “Step 3: Create a Search Form by Location”Next, you can create a custom search form that allows visitors to search for plumbers by their service area.
- Go to Listdom → Search & Filter Builder.
- Create a new form.
- Add the Locations field to the form.
- Save the form and copy its shortcode.
- Paste this shortcode on the same page where you added your map skin.
Now, when users select a location and click the Search button, only the listings associated with that location will be displayed on the map or listing grid. Once you’ve done that, you can also add an Address field to the search form so users can search among addresses directly.