Activate VGM only on a certain page

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

Tagged: 

Viewing 4 posts - 1 through 4 (of 4 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

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