Activate VGM only on a certain page

New home Forums Visitor Generated Markers Activate VGM only on a certain page

Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #70338
    effekt
    Participant

    Hi,
    i have a website with a map on the homepage ([wpgmza id="1"]), where the form of VGM is display:none
    On a second page is the same map shortcode with the the form displayed.
    My problem now is on the homepage on mobile devices. When i tap in the map a marker is generated and i want this feature only on the second page.
    So my question is can i disactivate vgm on certain pages?
    You can see the map on https://www.flutru.com and the VGM Form is on https://www.flutru.com/flurnamen-hinzufuegen/#addflurnamen
    Thanks

    #70343
    Steven
    Moderator

    Hi there,

    Thank you so much for getting in touch, we really appreciate your time.

    Might I kindly suggest perhaps making use of the shortcode attribute to disable the vgm form on specific pages?

    Example: [wpgmza id="1" disable_vgm_form="1"]

    Kindly let me know if this helps?

    Kindest Regards,
    Steven De Beer

    #70347
    effekt
    Participant

    This is exactly what i was searching for. Works perfect. Thanks

    #70350
    Steven
    Moderator

    Hi again,

    Thank you so much for getting back to me.

    I am glad to hear this has helped.

    Please do let us know if you have any other questions as we are always eager to assist.

    If you ever have two minutes spare, please consider reviewing the plugin on https://wordpress.org/support/plugin/wp-google-maps/reviews/#new-post it would mean the world to me! (If possible, could I ask you to mention both your name and mine in the review for administrative purposes, this would be a tremendous help!)

    Do have a fantastic week further!

    Kindest Regards,
    Steven

    #78623
    [email protected]
    Participant

    Hi

    I tried using this shortcode [wpgmza id="1" disable_vgm_form="1"] for a specific map, but without result.

    The shortcode [wpgmza_vgm_form link_to_map="Map ID" redirect_to="Page Link"] for vgm form only works perfectly fine.

    Is there a reason why the first shortcode doesn’t work or another way to display the map without the vgm form?

    Thank you!
    Kim

    #78634
    Matthew
    Moderator

    Hi @kim,

    We see that you have opened a forum thread (https://www.wpgmaps.com/forums/topic/separating-the-vgm-form-from-map-doesnt-work/) regarding this, thus we have responded in your thread accordingly.

    Kindest Regards,
    Matthew

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.