Support » Plugin: WPME Google Maps » 2 maps in a Basic Mode on a same page

  • Resolved Dmitry Shved

    (@dmitry-shved)


    Hi, when I put 2 shortcodes using Basic Mode on one Page just the last one is shown.
    Is it a bug or feature? Did not find single-map limitations in the documentation.
    Thanks,
    Dmitry.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author WPMadeasy

    (@wpmadeasy)

    Hello Dmirty,

    Yes that’s due to the same (default) ID generated by the plugin (wpme-gmap) for the Map Div. You can easily solve it by entering a different ID for your “each” map short code.

    For example:


    [wpme-gmap address="123 Street" id="wpme-gmap2"]

    [wpme-gmap address="XYZ Street"]

    Notice the id parameter in first short code. When this is not present, plugin generates wpme-gmap as the default ID. You can also find the input box (CSS: Map DIV ID) to enter this ID in plugin GUI (on post editor).

    This way you can add as many maps as you want on a single post or page. All you need to enter is a different ID for each.

    I hope this solves the problem 🙂

    Yes, thank you. This solves the problem completely! 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘2 maps in a Basic Mode on a same page’ is closed to new replies.