New home › Forums › Visitor Generated Markers › Activate VGM only on a certain page
Tagged: VGM
- This topic has 3 replies, 2 voices, and was last updated 2 years, 1 month ago by Steven.
-
AuthorPosts
-
August 18, 2021 at 7:35 am #70338effektParticipant
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
ThanksAugust 18, 2021 at 7:42 am #70343StevenModeratorHi 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 BeerAugust 18, 2021 at 5:25 pm #70347effektParticipantThis is exactly what i was searching for. Works perfect. Thanks
August 19, 2021 at 7:27 am #70350StevenModeratorHi 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 -
AuthorPosts
- You must be logged in to reply to this topic.