Support » Plugin: Simple Shortcode for GoogleMaps » Does this plug-in allow to add 2 pins(addresses)?

  • Resolved zzlatevv

    (@zzlatevv)


    Hey there,

    Thanks for the great plug-in. I have a question – does this plug-in allow to add more than one pin(address)? Right now, I can add one pin using this shortcode, but I’m looking to add a second pin.
    [pw_map address=”New York City” key=”API”]
    And one more question, actually how can I add an address because it doesn’t work on my end. It’s working only if I add “New York City”.
    Thanks in advance!

Viewing 15 replies - 1 through 15 (of 37 total)
  • Plugin Author Alan Fuller

    (@alanfuller)

    Sorry it only does one pin.

    In terms of address, if you go to Google maps and put an address into the search, then if that address is found in Google maps the same address should work in the shortcode.

    Thread Starter zzlatevv

    (@zzlatevv)

    Thank you so much for your answer, Alan, I really appreciate it!
    Is there any way to add this functionality – to be able to add more than one pin?
    Thank you once again!

    Plugin Author Alan Fuller

    (@alanfuller)

    Would require custom coding which is out of scope of the free support here.

    I will consider it as a development idea but with no promises.

    If you wish to pay for development you can contact me directly, but we can’t discuss further on this forum.

    Thread Starter zzlatevv

    (@zzlatevv)

    Sure, no problem, Alan! I sent you a personal message on Slack.

    In terms of address, as I said, New York City works, but this address doesn’t work. Can you please check on your end?
    ul. “Okolovrasten pat” 214, 1434 Simeonovo – Sever, Sofia
    Thank you so much once again!

    Plugin Author Alan Fuller

    (@alanfuller)

    I’ll try versions but I expect the double quotes would be an issue, try without quotes or wrap in single quotes.

    Thread Starter zzlatevv

    (@zzlatevv)

    Nope, unfortunately, it still doesn’t work.
    [pw_map address=”ul. Okolovrasten pat 214, 1434 Simeonovo – Sever, Sofia” key=”API”]

    • This reply was modified 6 months, 2 weeks ago by zzlatevv.
    Plugin Author Alan Fuller

    (@alanfuller)

    This shortcode works fine for me

    What issue are you seeing?

    Make sure you haven’t copied and pasted and ended up with speech marks rather than quotes.

    see https://ibb.co/SQq42vC

    [pw_map address="ul. Okolovrasten pat 214, 1434 Simeonovo – Sever, Sofia" key="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"]

    Thread Starter zzlatevv

    (@zzlatevv)

    Copy-paste your shortcode but still doesn’t work on my end.
    I don’t see any error in the console and the page is blank when I’m using this address. If I add New York City, then the map appears.

    Plugin Author Alan Fuller

    (@alanfuller)

    What do you get it you simplify ( no quotes )

    [pw_map address=Sofia key="xxxxxxxxxxxxxxxxxxx"]

    I get https://ibb.co/Lh9GSMK

    Thread Starter zzlatevv

    (@zzlatevv)

    Still the same – a blank page.

    • This reply was modified 6 months, 2 weeks ago by zzlatevv.
    Plugin Author Alan Fuller

    (@alanfuller)

    What if you disable all plugins and switch to default theme.

    This can be done easily even on a production site using Health Check & Troubleshooting plugin https://wordpress.org/plugins/health-check/

    Have you checked the server error logs in case there is some incompatibility error?
    What version on PHP are you running?
    I assume you are on the latest WP ( 5.8.3 )

    Thread Starter zzlatevv

    (@zzlatevv)

    I’m checking on tastewp.com
    Let me check on a real website and I’ll get back to you.

    Plugin Author Alan Fuller

    (@alanfuller)

    I just released v 1.5 that now has multiple pin support

    Thread Starter zzlatevv

    (@zzlatevv)

    Thank you so, so much, Alan, for all your work and effort, I really appreciate it!

    Now, I’m having this instead of the blank page:
    https://www.screenpresso.com/=QHCQb

    I copy-paste the shortcode that you added from the plug-in page.
    [pw_map address=”Statue of Liberty National Monument NYC;Empire State Building, New York, NY, USA” key=”KEY”]

    The New York City address also doesn’t work anymore.
    [pw_map address=”New York City” key=”KEY”]
    With and without the quotes.

    Plugin Author Alan Fuller

    (@alanfuller)

    Are you absolutely certain you are using quote and not speech marks?

    The best thing do do is delete all quotes and then use single quote.

    I will also add some extra information to the error displays.

Viewing 15 replies - 1 through 15 (of 37 total)
  • The topic ‘Does this plug-in allow to add 2 pins(addresses)?’ is closed to new replies.