function the_addr_rss() { $addr = the_address(); $addr_tag = "\n\t<ymaps:Address>{$addr}</ymaps:Address>"; echo $addr_tag; }
while ($loop->have_posts()) { $loop->the_post(); ?> <li> <div class="halo"><i class="mdi mdi-phone"></i> <?php the_phone(); ?> </div> <p><i class="mdi mdi-email"></i> <?php the_email(); ?> </p> <p><i class="mdi mdi-navigation"></i> <?php the_address(); ?> </p> <?php $google_map = get_field('google_map'); if (!empty($google_map)) { ?> <br> <?php echo $google_map['lat']; ?> <br> <?php echo $google_map['lng']; ?>