WordPress.org

Ready to get started?Download WordPress

Forums

WP Google Maps
[resolved] shortcode (2 posts)

  1. CURTET
    Member
    Posted 1 year ago #

    Hi,
    when I put the shortcode [wpgmza id="1"] on a page it works but when I want to put on single.php like this : echo do_shortcode('[wpgmza id="1"]'); the map doesn't appear.
    yet, single.php has got <?php get_footer(); ?>with <?php wp_footer(); ?>
    Do you have an idea ?

    Otherwise, is it possible to add directly markers in the shortcode ?

    Thanks for you answer

    http://wordpress.org/extend/plugins/wp-google-maps/

  2. WPGMaps
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Curtet

    Have you got the basic or pro version installed?

    If you have the basic, do you have the shortcode placed on the map already while trying to run the do_shortcode function? If so, it wont work as the basic version cannot handle multiple maps on the same page.

    Kind regards
    Nick

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags