WordPress Interactive Map Plugin (CMML) - Free Version Tutorial


WordPress Interactive Map Plugin - Free Version Tutorial

Back to User Guide

WordPress Interactive Map Plugin

Learn more about Pro version of the WordPress Interactive Map plugin

This article covers only features present in the free version of the WordPress Interactive Map Plugin.

It shows you how to create a directory of locations on your site.

Video



Example

Example the index page with map locations - Google Maps WordPress Plugin
Example the index page with map locations
Example of the user dashboard for managing locations - Maps Plugin
Example of the user dashboard for managing locations

Table of Contents

  1. Installation guide
  2. Setup Wizard
  3. List of Features
  4. Using the Plugin - Overview
  5. Initial Setup
    1. Google API Key
  6. Plugin Settings
    1. Setup tab
    2. General tab
    3. Index Page tab
    4. Location Page tab
    5. Dashboard tab
    6. Location Form tab
  7. Shortcodes

Installation guide

Here are the steps needed to install the plugin:

  1. Download - To manually install the plugin, you must first download it from WordPress.org to your computer.
  2. Navigate to the Plugins tab in the WordPress Admin Panel to install the plugin.
  3. Activate the plugin. 
Installing new plugin - WordPress Plugins
Installing new plugin

Setup Wizard

Once you install and activate the plugin, you will see a setup wizard. It will help you to configure the basic settings step by step - just follow the instructions. Optionally, you can skip it.

Setup wizard - WordPress Interactive Map Plugin
Setup wizard

TIP: Register for Benefits

If you like, you can register your plugin to receive information about updates and our latest offers. You can complete your registration at any time. 

If you don’t want to register right away, you can select the Skip button.

Registering the plugin copy - Store Locator WordPress Plugin
Registering the plugin copy

List of Features

Free Edition Pro Edition
Add unlimited locations Add unlimited locations
Google Maps integration Google Maps integration
Index page with all locations Customizable index page with all locations
- Maps have themes, layers and tiles
Users can post locations User dashboard
Location has thumbnail and YouTube video Thumbnail, video and image gallery
Locations have generic icon Every location has a customizable icon
- Tags and categories to organize locations
- Import and export all locations via CSV
Search by location name Search by name, ZIP code and current user location
Interface in English Translate the plugin with customizable labels
No support Plugin can be used forever; one year support and updates

WordPress Interactive Map Plugin

Learn more about Pro version of the WordPress Interactive Map plugin


Using the Free Plugin - Overview

TIP: Automatic Index and User Dashboard Pages

The plugin automatically creates:

  1. A location index page - All new locations will be shown there.
  2. A user dashboard page - Users can manage their locations and add new ones from there.
Link to the index page and user dashboard - Maps WordPress Plugin
Link to the index page and user dashboard

Admin - Adding and Managing Locations

You can add and manage locations from the back-end. Head to Admin Dashboard → CM Map Locations → Locations.

Managing locations on the back-end - WordPress Interactive Map Plugin
Managing locations on the back-end

User Dashboard - Adding and Managing Locations

Every location is "attached" to the user that created it, including the admin!

The user dashboard page lists all locations added by the currently logged-in user. As such, the content changes depending on who accesses it. There's also a handy Add location button.

Example of the user dashboard - Google Maps WordPress Plugin
Example of the user dashboard

What Does It Look Like to Add a Location?

All users (including the admin) can add locations from a front-end form.

Form for adding new location - Maps Plugin
Form for adding new location

Initial Setup

A core aspect of the plugin is showing locations on a Google Map. To do so, you require creating and then add a Google Maps API key into the plugin.

Important

  • Starting from July 2018, Google Maps, Routes, and Places require billing information, such as an associated credit card.
  • The pricing system also changed, but in practice, the services are still free for limited use.

Read more

Google API Keys - Obtaining the Google API Key

To obtain the Google API key, follow these steps:

  1. Head to the Google Developers webpage
  2. Log in to your Google account
  3. Go to your project or create a new one
Choosing the project - Google Maps WordPress Plugin
Choosing the project
Creating new project - Maps Plugin
Creating new project
  1. Head to APIs & Services and then Library
Navigation to the Library page - Store Locator WordPress Plugin
Navigation to the Library page
  1. Select one of the API from the list. You may have to search for it by using the search bar.
Choosing needed API - Maps WordPress Plugin
Choosing needed API
  1. This page is important. In it, you can enable the API and find resources about it. Click "Enable"
Enabling needed API - WordPress Plugins
Enabling needed API
  1. Repeat steps 6 and 7 for all the API keys you need to enable:
    1. JavaScript API
    2. Geolocation API (For some features; requires HTTPS)
    3. Geocoding API
    4. Places API
  2. After you have enabled all the API Keys, activate the sidebar menu and click on Credentials. You will find the API key there, ready to be copied and pasted into the plugin's settings.
Where to find the generated API key - Premium WordPress Plugins
Where to find the generated API key

Billing

Also, if you have still not enabled billing, you can do so by activating the sidebar menu and then selecting Billing

Billing page - WordPress Add-ons
Billing page

Then click Link a billing account and follow the steps.

Linking a billing account - WordPress Interactive Map Plugin
Linking a billing account

Adding Key to Plugin

Once you have the key, adding it to the plugin is easy. Navigate to Admin Dashboard → CM Map Locations → Settings.

Navigation to the plugin settings - Google Maps WordPress Plugin
Navigation to the plugin settings

Head to the Setup tab and copy it to the API Keys field.

In the same setting, you can click Test Configuration to ensure the connection is working.

Adding generated Google API key to the plugin - Store Locator WordPress Plugin
Adding generated Google API key to the plugin

Plugin Settings

Now let's configure the plugin settings.

The settings page shows options available in the Free version of the plugin and also showcases the options that are available in the Pro version only. You can show or hide Pro options by clicking the relevant button at the top right:

Hiding Pro options - Maps Plugin
Hiding Pro options

Setup tab

Setup tab - Maps WordPress Plugin
Setup tab
Still in the same Setup tab, you have a few more settings:
Setup options - Store Locator WordPress Plugin
Setup options

General

  • Display "Setup Wizard" in plugin menu - Disable this option if you want to remove the Setup Wizard from the plugin menu.

Navigation

  • Permalink prefix - The prefix of the index and locations' permalinks. For example, "map-locations" will generate permalinks such as: site.com/map-locations/paris-trip. By default, it's "map-locations".
  • Enable wp-admin edit page for locations - If disabled, when you click the Edit link in the back-end, you will be redirected to the front-end location edit page.

General tab

General tab - WordPress Interactive Map Plugin
General tab

In this tab, you can configure the overall plugin behavior and appearance.

The options are:

General settings - Maps WordPress Plugin
General settings
Template
  • Page template - Choose the page template of the current theme or set default.
  • Other page template file - Enter the other name of the page template if your template is not on the list above. This option has priority over the selected page template. Leave blank to reset.

    Advanced!

    Editing templates is an advanced process that may require HTML, CSS and coding skills.

    Make sure to back up all files before saving changes. This article provides examples of changes, but they are illustrative and not meant to be followed literally.

    General Support - Advanced - Creating and Editing Custom Templates

Map
  • Default map view - Choose between
    • road map
    • terrain
    • pure satellite without labels
    • hybrid: satellite + labels
  • Default Map Zoom - Default value for map zoom. If set to 0, then zoom will be selected automatically. Default is 0.
  • Zoom map when using mouse wheel - If enabled, scrolling the mouse when it's over the map will zoom out or zoom in.
Custom CSS
  • Custom CSS - You can enter a custom CSS which will be embedded on every page that contains a maps plugin interface.

Quick Read

What is CSS

CSS allows you to make changes that WordPress, themes and even the plugins don't support. Be sure to test all changes before applying! Learn more: General Support - Advanced - Custom CSS

CreativeMinds Can Help

If you prefer not modifying CSS and visual elements by yourself, CreativeMinds can help to adapt CM plugins to your theme. Learn more: Plugin Installation Service for WordPress by CreativeMinds


Index Page tab

You can configure everything related to the index page in this tab.

Index page tab - Store Locator WordPress Plugin
Index page tab

The options are:

Index page settings - Google Maps WordPress Plugin
Index page settings

Layout

  • Enable menu - If enabled, it will be shown above the map. Includes the buttons All locations, Add Locations and My Locations.
Pagination, order, search
  • Locations per page - Limit the locations visible on each page. The default is 10.
  • Enable search - Choose Yes to turn on the search bar on the default index page.
  • Search mode - Choose search mode between:
    • Exact match
    • Nearest
  • Nearest radius value - Define the nearest radius value in case, if you chose Nearest search mode in the previous option.
Appearance
  • Text on top - Enter what is displayed on the top of the index page, below the page title.

    You can include HTML, images and video.

    Highlighted Example

    Example of text added to the top of the index page - Google Maps WordPress Plugin
    Example of text added to the top of the index page
  • Information visible on the index page - Show or hide
    • Address
    • Postal code
    • Created date

      Highlighted Example

      Example of the location info visible on the index page - Maps Plugin
      Example of the location info visible on the index page
  • Location's featured image - Choose between:
    • First gallery image
    • None
  • Location's default image - Useful for branding.

Location Page tab

Location page tab - Store Locator WordPress Plugin
Location page tab

The options are:

Location page settings - Maps Plugin
Location page settings
Appearance
  • Information visible on the index page - Show or hide:
    • Address
    • Postal code
    • Created date

      Highlighted Example

      Example of the information visible on the index page - Maps WordPress Plugin
      Example of the information visible on the index page

Map

  • Show label below marker - Show text labels with location name below the location marker on the location page map.

Dashboard tab

Dashboard tab - WordPress Interactive Map Plugin
Dashboard tab

The options are:

Dashboard settings - Store Locator WordPress Plugin
Dashboard settings
Editor
  • Enable rich text editor - Allow or not users to use the WYSIWYG editor when creating the location description. If disabled, a simple textarea will be displayed.
Map default position
  • Editor default location's latitude - By default, 0.
  • Editor default location's longitude - By default, 0.
  • Editor default zoom - Higher number means closer. By default, 5.
Appearance
  • Show available shortcodes on the edit page - Show or hide.

Location Form tab

Location form tab -
Location form tab

Here you can configure which fields should be displayed in the form for adding new locations. For a few fields you can choose if they should be optional or required.

The options are:

Location form settings - Maps WordPress Plugin
Location form settings
  • Description - Can be optional or required.
  • Status
  • Images
  • Videos
  • Latitude/Longitude
  • Address - Can be optional or required.
  • Postal code - Can be optional or required.

Shortcodes

The plugin has a few shortcodes which you can use.

Snippet

  • Shortcode: [cmloc-snippet]
  • Use: Displays a location's snippet.
  • Filtering parameters:
    • id - set location ID to display specific location map.
  • View paramteres:
    • featured - set the map to display interactive map or image for a static image.
  • Sample: By using the shortcode [cmloc-snippet id="487" featured="map"] , we are able to add a snippet of this location to the blog post.

    Displaying a location snippet - Maps Plugin
    Displaying a location snippet

Specific Location Map

  • Shortcode: [cmloc-location-map]
  • Use: Shows a specific location on a map.
  • Filtering parameters:
    • id - location ID.
  • View parameters:
    • theme - Choose between:
      • silver
      • retro
      • dark
      • night
      • aubergine
    • mapheight - the height of the map in pixels (decimal value without px string).
    • mapwidth - width of the map in pixels (decimal value without px string).
    • width - width of the entire widget in pixels (decimal value without px string).
    • showtitle - 0 for no, 1 for yes.
    • showdate - 0 for no, 1 for yes.
  • Sample: [cmloc-location-map id=1767 mapwidth=640 mapheight=480 width=700 showtitle=1 showdate=1]

    Displaying a map with specific location - Store Locator WordPress Plugin
    Displaying a map with specific location

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.