• Resolved anonymized-14950711

    (@anonymized-14950711)


    Hello,
    I’d like to include a map in my theme. The map should be the same for all pages/posts and should be placed in the page footer, rathern than in the page/post content.
    How do I implement this feature?
    Thanks

    https://wordpress.org/plugins/wp-google-maps/

Viewing 1 replies (of 1 total)
  • Plugin Author WPGMaps

    (@wpgmaps)

    Hi there.

    Thank you for getting in touch with us.

    Our plugin makes use of a shortcode to add the map to a page: [wpgmza id=’1′]

    If you’d like to add this into your PHP code, you’d need to do something like this:

    <?php echo do_shortcode("[wpgmza id='1']"); ?>

    Does this help at all?

Viewing 1 replies (of 1 total)

The topic ‘Include a map in PHP’ is closed to new replies.