Separating the VGM form from the Map
Overview
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
Prerequisites
The Following Plugins need to be installed and active
- WP Go Maps
- WP Go Maps Pro Add-on
- Visitor Generated Markers
Step 1: Add the map Short code
Paste the following shortcode on the page where you would like the Visitor Generated Markers (VGM) form to appear:
Step 2: Link form to map that the marker will be created on
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).

Step 3: Configure redirection after form submission
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

Step 4 (optional) Remove the VGM form from the map page
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.
ο»Ώ
