Home › Forums › ACF PRO › Multiple queries single page (map markers) › Reply To: Multiple queries single page (map markers)
If I run the location parameter directly, it works showing each value as expected, but I still can’t get it to pull out the LAT & LONG values! How do I pull these from the object?
<div class="map">
<?php while ( $loop->have_posts() ) : $loop->the_post(); ?>
<div class="marker"><?php echo the_field('location'); ?></div>
<?php endwhile; ?>
</div>
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.