Location Manager - Setup Guide
This setup guide will run through a typical setup of the Location Manager extension from start to finish.
The Location Manager extension extends your city directory to a global directory or anything in between. With Country, Region, City, and Neighborhood support, users can browse and add listings anywhere they want.
For a full list of features see the Location Manager product page.
The first step if you haven't already, is to install the Location Manager. This can be done by following our guides on how to install an extension.
Step 1 - Settings
Once installed and activated, you can find the Location Manager settings at GeoDirectory > Settings > Locations.
The Location manager comes with sane defaults meaning the default settings will work for the majority of users, however, there are many customizations that can be done via the settings, for a full explanation of what all the settings do please see our settings overview.
If you wish to limit your directory to only certain locations you can set those from here, see the settings overview linked above for more information.
Step 2 - Permalinks
Now that you can add listings to multiple locations you may want to adjust the listings permalinks to show the location they are in. You can do this by visiting the standard WordPress Permalinks settings page under Settings > Permalinks.
By default locations are not set in the URL structure, these options give you the ability to select pre-defined options or to set a custom variation.
Step 3 - Location Switcher
Now that your directory has multiple locations you will want to let your users switch between locations to be able to browse listings by country, region, city, or neighborhood.
The location switcher is available in many forms:
- Menu Item
- Block (Gutenberg)
It is always good to have the switcher available in the main menu, and if required you can also add it to a sidebar or footer area as needed. See our guide on adding the location switcher to the menu and as a widget.