ACF Map Multiple Pins
Written by the Divi Engine Documentation Team
Introduction
Follow these steps to add multiple pins to one map on the archive page template of a custom post type.
Step 1: Follow Five Previous Steps
Follow steps 1-5 in the document that outlines how to add a single map to your single posts template page. Please click HERE and set that up.
Step 2: Build A Popup
Continue by building a map popup in the Divi Library. Add modules that are related to individual posts (your Custom Loop Layout) such as the Post Title.
Step 3: Add Map Module
Make your way to the archive page template of the custom post type that you have decided to use. Add the Map Module as you would in the previous document however include a custom ID name in the Advanced Tab of the map module.
Step 4: Add Archive Loop Module
Add the Archive Loop Module to the same Archive page. In the Archive Loop Module make your way to the Element Options tab, click the Has Map button and enter in your ID name including the hashtag sign.
Step 5: Assign Map Popup
Assign your Map Popup Layout to the Archive Loop Module in the Element Options section.
Step 6: Adjust The Map Zoom
Using the + and - signs, adjust the map zoom level to the height of your choice, then save your page.
More Support?
Please email us at [email protected] if you are unable to get Divi Machine working.