WordPress Interactive Map Plugin (CMML) - Integration - Expert Directory


Integration with WordPress Member Directory Plugin

Back to User Guides

Table of Contents

API Key is Required

This feature requires an API key from Google. Learn how to generate one:

Map Locations and Routes - Getting Started - Adding API Keys (Google Maps and OpenWeatherMap)


What is This Feature

The WordPress Interactive Map plugin can be integrated with the WordPress Member Directory plugin

This way, you can add a map to the listing of experts.

Displaying experts on the map - Google Maps WordPress Plugin
Displaying experts on the map

1) Showing Map

You can display the map by using a shortcode [cmloc-expert]

It has two attributes:

  • category - Specify one or more categories by their id or slug
  • categoryfilter - Set "1" to allow users to filter categories and "0" to disable it (Default is "1")
  • show_map_on_load - Set "1" to show the map on the page load. If set to "0", the map will be hidden. This parameter is needed to override the option Show map on page load in plugin settings of the WordPress Member Directory pluginNote: this option was introduced in version 3.0.6.

[cmloc-expert category="id|slug" categoryfilter="1|0" show_map_on_load="1|0"]

Latitude and Longitude are Required!

The map will only display items that have latitude and longitude in their address.

You can add them by choosing the precise point on the map. To do so, enable the option Place the marker manually.

Placing the marker manually - Maps Plugin
Placing the marker manually

Alternatively, you can use services such as Get Lat Long from Address Convert Address to Coordinates to obtain coordinates.


2) Expert Pages With a Map

You can also show a Google map on each listing page.

Choose the default options in Admin Dashboard → CM Expert Directory Pro → Settings → Expert Page tab.

Then configure Show a Google map and Display map (where and how it should be shown).

Enabling the map on expert pages - WordPress Plugin Staff Directory
Enabling the map on expert pages

TIP: Enabling/Disabling on Single Page

While editing an expert page, you can toggle the map on or off for that page alone.

Enabling the map on specific expert pages - Member Directory Plugin for WordPress
Enabling the map on specific expert pages

Expert Directory With a Map

You can show a Google map on the expert directory

Navigate to Admin Dashboard → CM Expert Directory Pro → Settings → Expert Directory tab.

Enabling the map on the expert directory index page - WordPress Plugin for Member Directory
Enabling the map on the expert directory index page
  • Show CM Locations Map - Shows the map or not.
  • Map position - Select the map position on the index page. Choose between:
    • Before filters
    • Between the filters and results
    • After results

      Note: this option was introduced in version 1.9.8.

  • Show map on page load - Show the map by default or with a button click. Disabling might be recommended if the map takes time to load.
  • Shows all experts on map - Show all experts or only the ones shown in the current page.

Then navigate to Admin Dashboard → CM Map Locations Pro → Settings → Index page tab.

Locations index page settings - Google Maps WordPress Plugin
Locations index page settings

Find the section Map and configure the following options:

Map settings - Maps Plugin
Map settings
  • Enable map - Enable this option to display the map on the Expert Directory page.
  • Enable marker clustering - If enabled, multiple markers will be combined as a single when overlapping due to the zoom.
  • Enable info window on marker clustering - Shows a tooltip when clicking on a clustered marker, listing each location.
  • Marker label type - Choose the label type with the marker's name on the location's map. The options are:
    • Show always below the marker
    • Show tooltip on mouse hover
    • Do not show label
  • Clicking on the map marker will - Choose the action when the user click on the marker. The options are:
    • None
    • Open the location's page - Directs to the expert page
    • Redirect to custom URL - Directs to the address in the "URL" field of the location entry. 
    • Show tooltip with information about location - Displays part of the description without directing the user to another page. This feature has extra settings.

Example on the Front-end:

Experts on the map - Store Locator WordPress Plugin
Experts on the map

More information about the WordPress Interactive Map Plugin

Other WordPress products can be found at CreativeMinds WordPress Store

Let us know how we can Improve this Product Documentation Page

To open a Support Ticket visit our support center
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.