cleio&co

cleio maps documentation
Map generator

Back to Cleio Maps Documentation

In Cleio Maps Settings you will find a Map Generator, this will help you generate a shortcode for your maps. You will then be able to copy/paste this shortcode in any WordPress post or page.

Function

If you prefer adding the map to your template files, use the following function:

<?php CleioMaps_Helpers::getMap( $args ); ?>

Parameters

Example

<?php CleioMaps_Helpers::getMap( array( "pins"=>"cleio-pins", "pinscolor"=>"#000000", "map"=>"Pale Dawn") ); ?>

or

<?php
$args = array( "pin"s=>"cleio-pins", "pinscolor"=>"#000000", "map"=>"Pale Dawn");
CleioMaps_Helpers::getMap( $args );
?>