
Directorist - Custom Map Styles
A Directorist extension enabling custom Google Maps styling, letting users override default map designs with personalized configurations.
This plugin extends the Directorist directory plugin by providing enhanced Google Maps functionality. It allows you to:
- Override default Directorist map styles
- Implement custom map configurations
- Add custom Google Map ID settings
- Replace the default map script with your custom implementation
- Custom Map Styling: Override Directorist’s default Google Maps styling
- Script Replacement: Replace the default map script with your custom implementation
- Admin Integration: Seamlessly integrates with Directorist’s admin settings
- Google Map ID Support: Configure custom Google Map ID through admin panel
- WordPress Standards: Built following WordPress coding standards and best practices
- WordPress 5.2 or higher
- Directorist plugin (active)
- PHP 7.4 or higher
- Download the plugin files
- Upload the
directorist-custom-map-stylesfolder to your/wp-content/plugins/directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Ensure Directorist plugin is installed and active
Before configuring the plugin, you need to create a Google Map ID with custom styling:
- Go to the Google Cloud Console
- Select your project or create a new one
- Navigate to APIs & Services > Credentials
- Click + CREATE CREDENTIALS and select Map ID
- Fill in the details:
- Map ID name: Enter a descriptive name (e.g., “Directorist Custom Map”)
- Map type: Select “JavaScript”
- Styling: Choose “Custom styling” and click CREATE
- After creating the Map ID, click on it to edit
- In the Styling section, you can:
- Use the Map Styling Wizard for visual customization
- Import JSON styling for advanced customization
- Choose from predefined themes
- Copy the generated Map ID (it looks like:
1234567890abcdef) - Note this ID for plugin configuration
Make sure these APIs are enabled in your Google Cloud project:
- Maps JavaScript API
- Places API (if using places functionality)
- Geocoding API (if using geocoding)
- Go to Directorist > Settings > Listings > Map Settings
- Find the Google Map ID field
- Enter your custom Google Map ID (from Step 3 above)
- Save settings
Related Products
Directorist - Advanced Social Links
An extension for Directorist plugin that adds advanced social networking options to listing forms and single listing pages.
Directorist - Custom Badges
A Directorist extension that allows you to create and manage custom badges for your listings with advanced conditions.
Directorist - Nearby Amenities
A powerful extension for Directorist that displays nearby amenities on single listing pages using Google Places API only.


