Adding Maps directly to PHP theme files

You are here:

If you need to add a map directly in a theme or a different plugin file, you can use the following:

<?php echo do_shortcode('[display-map id="123"]'); ?>

Basically you will need to get the shortcode for your map and use it inside the do_shortcode function from WordPress.