Install Local Directory and have your first listing live in under 5 minutes.
Before installing Local Directory, make sure your environment meets these minimum requirements:
Upload the local-directory folder to your plugins directory:
/wp-content/plugins/local-directory/
In your WordPress admin, go to Plugins > Installed Plugins and activate Local Directory.
A new Listings menu appears in the WordPress admin sidebar. You are ready to go.
In the WordPress admin, navigate to Plugins > Add New.
Search for Local Directory.
Click Install Now, then Activate.
After activation, follow these three steps to get your directory page live:
Create a Directory Page
Go to Pages > Add New, give it a title (e.g., "Directory"), and add the following shortcode to the page content. A shortcode is a special tag wrapped in square brackets that WordPress replaces with dynamic content when the page loads:
[local-directory]
Publish the page when you are done.
Set the Directory Page
Navigate to Listings > Settings > General and set Directory Page to the page you just created.
Why this matters: Setting the directory page ensures all breadcrumbs (including Yoast and Rank Math breadcrumbs) link back to your directory. It also enables correct permalink resolution for single listing pages. A permalink is the permanent URL for a page or listing on your site (e.g., yoursite.com/listing/joes-pizza).
Visit Your Directory
Open the page on the frontend. Your directory is now live — it will be empty, but the search bar, map, and layout are all working. Time to add some listings.
There are two ways to populate your directory with listings:
Go to Listings > Add New. Fill in the title, description, category, location, and coordinates. Add photos and business hours if you like, then publish.
Go to Listings > Import and upload a Google Maps JSON export. Photos, ratings, business hours, and addresses are imported automatically. See the Import Guide for details.
Local Directory ships with two map providers. The default is free and requires no configuration.
| Provider | API Key Required | Cost |
|---|---|---|
| OpenStreetMap (Leaflet) | No | Free |
| Google Maps | Yes | Free tier available |
OpenStreetMap (Leaflet) is the default provider and works out of the box with no API key. This is the recommended option for most directories.
To switch to Google Maps:
Google API requirements: Your API key needs the following APIs enabled in the Google Cloud Console: Maps JavaScript API, Places API, and Geocoding API.
Now that your directory is up and running, explore the rest of the documentation: