Skip to main content
All CollectionsGeneral
How to Add Maps directly to PHP theme files
How to Add Maps directly to PHP theme files
James avatar
Written by James
Updated over 8 months ago

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.

Did this answer your question?