WordPress Interactive Map Plugin (CMML) - How To - Add Waze and Google Directions Buttons

How To Add Waze and Google Directions Buttons

Since the version 2.8.4 of the WordPress Interactive Map plugin it is possible to add Waze and Google Directions links to your locations.

These links can be placed on the index page - in the info tooltip when clicking on the location point, and in the list of locations:

Waze and Google Directions buttons on the index page - Google Maps WordPress Plugin
Waze and Google Directions links on the index page

As well these links can be placed on the location page:

Waze and Google Directions buttons on the location page - Maps Plugin
Waze and Google Directions links on the location page

Index Page Settings

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

Navigation to Index page settings - Store Locator WordPress Plugin
Navigation to Index page settings

Find the section Appearance. Check Directions under the option Information visible on the index page.

Enabling Waze and Google Directions links in location snippets - Maps WordPress Plugin
Enabling Waze and Google Directions links in location snippets

Front-end Example

As a result of enabling this option, Waze and Google Directions links will be displayed on location snippets in the locations list:

Waze and Google Directions buttons in location snippets on the index page - WordPress Interactive Map Plugin
Waze and Google Directions links in location snippets on the index page

Now head to the section Info window. Here you can find the template for the info tooltip when the user clicks on the location marker. This template supports shortcodes for displaying dynamic content. Use shortcodes [wazedirections] and [googledirections] for adding corresponding links.

Displaying Waze and Google Directions buttons in location info tooltips - Google Maps WordPress Plugin
Displaying Waze and Google Directions links in location info tooltips

Front-end Example

As a result of adding these shortcodes to the template, Waze and Google Directions links will be displayed in the info tooltip for each location on the map:

Waze and Google Directions buttons in the location info tooltip - Maps Plugin
Waze and Google Directions links in the location info tooltip

Location Page Settings

Navigate to Admin Dashboard → CM Map Locations Pro → Settings → Location page tab.

Navigation to Location page settings - Store Locator WordPress Plugin
Navigation to Location page settings

Find the section Appearance. Check Directions under the option Information visible on the location's page.

Enabling Waze and Google Directions buttons on location pages - Maps WordPress Plugin
Enabling Waze and Google Directions links on location pages

Front-end Example

As a result of enabling this option, Waze and Google Directions links will be displayed on the location page:

Waze and Google Directions buttons on the location page - WordPress Interactive Map Plugin
Waze and Google Directions links on the location page

Reminder: Don't forget to save the changes after editing the settings.


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.