Separating the VGM form from the Map
This guide covers how to separate the form your visitors will use to generate a marker, from the map where the marker will be placed
The Following Plugins need to be installed and active
- WP Go Maps
- WP Go Maps Pro Add-on
- Visitor Generated Markers
Paste the following shortcode on the page where you would like the Visitor Generated Markers (VGM) form to appear:
Add your map ID (on which the marker must be placed) to the βwpgmza_vgm_form link_to_mapβ attribute (1 in the example below).
Insert the url of page where the visitor will be redirected after adding the marker to the βredirect_toβΒ attribute (https://www.wpgmaps.com/demo/visitor-generated-markers/Β in the example below).
Update the Page
A VGM form will now display on that page, without the associated map
If the βredirect_toβΒ Β attribute will redirected to the map where the marker was added, remove the vgm form on that page by adding the following attribute to the map shortcode disable_vgm_form="1" e.g.
Update your page.
Your page should now display the Map and markers only.
ο»Ώ