Maps for Your Elementor Loop Grid: Loop Map Snippet

Table of Contents

If you are using the Elementor Loop Grid, you already know the power of pulling content into a clean, dynamic layout. But grids have one limitation: users often need to “mentally map” where those items actually are.

That’s where the Loop Map comes in. This professional-grade workflow allows you to place your Loop Grid items onto an interactive map with custom markers, pop-up cards, and direct links to your single post pages.

What the Loop Map Actually Does 🗺️✨

When configured correctly, the map acts as a functional extension of your data:

  • Dynamic Markers: Pins are automatically generated from your posts (properties, venues, events, or listings).
  • Interactive Pop-ups: Clicking a marker opens a card featuring the post image and key custom fields.
  • Synchronized Navigation: Clicking items can highlight and move the map to the related marker.
  • Direct Links: “View Details” buttons send users straight to your single post template, reducing bounce rates.
  • Smart Controls: Includes auto-fit logic that adjusts the zoom based on visible markers—perfect for filtered results.

The Requirements (Setup for Success) 🛡️

To get the Loop Map running smoothly the first time, you need two core components:

  1. A Location Custom Field: A field in your post type containing a postcode, zip code, or address.
  2. A Mapbox Token: Mapbox provides a generous free tier (typically up to 50,000 views).

The Logic: You store a postcode in your custom field. When the map loads, the snippet sends that data to Mapbox, which converts it into coordinates and places the marker with surgical precision. 🏗️📈

How to Install the Loop Map Widget 💎📦

Once you have the code snippet activated via Code Snippets, the “Loop Map” widget will appear directly inside your Elementor editor.

  1. Search for “Loop Map” in the Elementor sidebar.
  2. Drag it onto your page (next to or above your Loop Grid).

Add your Mapbox Token: Pro Tip: Tie your token to your specific URL in the Mapbox dashboard to ensure the map authorizes correctly on your live site.

Configuring the Query & Filters 🏎️💨

If you are using a filter system (like Filter Builder V5), the integration is seamless:

  • Match the Query ID: Ensure the Loop Map Query ID matches your filter setup.
  • Custom Field Key: Enter the exact key for your location field (e.g., postcode).
  • Real-Time Updates: If a user searches for a specific area or applies a distance filter (e.g., “within 5 miles”), the map will automatically update to show only the relevant pins.

Markers & Pop-up Styling 🎨

You aren’t stuck with generic red pins. You can architect a map that fits your brand perfectly:

  • Custom Pins: Choose between default styles, circles, or upload a Custom Image (like a house icon for real estate).
  • Color Precision: Pick your brand colors. Note: If the marker defaults to turquoise, simply re-select your custom color to “lock” it in.
  • Dynamic Pop-ups: Configure the pop-up card to show the featured image, title, and subtitles pulled from any custom field (like “Price” or “Number of Bedrooms”).

Beyond Properties: Versatile Use Cases 🌐

This isn’t just for real estate. Because it relies on standard custom fields, you can use it for:

  • Events: Filter by date and see what’s happening nearby today.
  • Directories: Map out local businesses or resources.
  • Venues: Show location-based search results for weddings or meetings.

Building the “Directory” Architecture 🎯

If you’re looking for a step-by-step guide on building a full directory site—including advanced filter logic and the Loop Map—check out our Phase Three course content on the Web Squadron Elementor website course

Ready to add a map to your grid? Activate the snippet and start building. 🚀💎

Huge thanks to Imran Siddiq - Web Squadron for architecting this tutorial!

❓FAQ: Loop Grid: Loop Map

No. While it integrates perfectly with filters, you can use it as a standalone “Grid + Map” layout for any location-based content.

The map accepts postcodes, zip codes, or full addresses. It converts these into longitude and latitude automatically.

Yes. Inside the widget settings, you can choose different Mapbox styles (Light, Dark, Satellite, etc.) and control the default zoom and positioning. 🛡️✨

You can enable a button within the pop-up card that dynamically links to the URL of the post, taking the user to your single post template.

Picture of Andrea Morgado
Andrea Morgado
She’s a strategist at heart and a compulsory problem-solver who turned “helping brands grow” into a long-term career. As Marketing Lead at Code Snippets, she spends her days shaping stories, building visibility, and translating complex ideas into language humans can understand.. without buzzwords, fluff, or unnecessary SEO filler words. With 15 years of experience across branding, design, web design, and digital marketing, she believes in long-term thinking, clear communication, and doing the work properly before dropping it on LinkedIn. Away from the screen, she’s powered by curiosity, creativity, and a suspiciously reliable ability to spot what’s broken, confusing, or missing, and quietly fix it before anyone else notices.
Share this Post on Social
Facebook
Twitter
LinkedIn
Email

Table of Contents

Rapyd Cloud (3-Day Free Trial)

Rapyd Cloud recently upgraded the standard for a WordPress Performance Stack by including Enterprise Cloudflare CDN on every plan. This isn’t just a basic CDN; it’s a deep integration that moves your site’s delivery to the “Edge.” 

The Code Snippets Pro Affiliate Program
Turn Your Referrals into Revenue.

Love using Code Snippets? Share the “Pro Way” with your audience and earn a 30% lifetime commission on every sale. It’s fast to join, easy to track, and built for your long-term success.