<?php
if( have_rows('phones') ):
echo '<div class="phones">';
while( have_rows('phones') ) : the_row();
echo '<div class="phone"><strong>' . get_sub_field('label') . ':</strong> ' . get_sub_field('number') . '</div>';
endwhile;
echo '</div>';
endif; ?>
<?php
$location = get_field('location');
if( $location ) {
// Loop over segments and construct HTML.
$address = '';
foreach( array('street_number', 'street_name', 'city', 'state', 'post_code', 'country') as $i => $k ) {
if( isset( $location[ $k ] ) ) {
$address .= sprintf( '<span class="segment-%s">%s</span>, ', $k, $location[ $k ] );
}
}
// Trim trailing comma.
$address = trim( $address, ', ' );
// Display HTML.
echo '<p>' . $address . '</p>';
}
$get_google_map = get_field('location', $value);
$lat = $get_google_map['lat'];
$long = $get_google_map['lng']; ?>
<a class="directions entry-button ct-button" target="_blank" href="https://www.google.com/maps?saddr=My+Location&daddr=<?php echo +$lat; ?>,<?php echo +$long; ?>">Get Directions</a>
<?php
if( have_rows('phones') ):
echo '<div class="phones">';
while( have_rows('phones') ) : the_row();
echo '<div class="phone"><strong>' . get_sub_field('label') . ':</strong> ' . get_sub_field('number') . '</div>';
endwhile;
echo '</div>';
endif; ?>
<?php
$location = get_field('location');
if( $location ) {
// Loop over segments and construct HTML.
$address = '';
foreach( array('street_number', 'street_name', 'city', 'state', 'post_code', 'country') as $i => $k ) {
if( isset( $location[ $k ] ) ) {
$address .= sprintf( '<span class="segment-%s">%s</span>, ', $k, $location[ $k ] );
}
}
// Trim trailing comma.
$address = trim( $address, ', ' );
// Display HTML.
echo '<p>' . $address . '</p>';
}
$get_google_map = get_field('location', $value);
$lat = $get_google_map['lat'];
$long = $get_google_map['lng']; ?>
<a class="directions entry-button ct-button" target="_blank" href="https://www.google.com/maps?saddr=My+Location&daddr=<?php echo +$lat; ?>,<?php echo +$long; ?>">Get Directions</a>
<?php
if( have_rows('phones') ):
echo '<div class="phones">';
while( have_rows('phones') ) : the_row();
echo '<div class="phone"><strong>' . get_sub_field('label') . ':</strong> ' . get_sub_field('number') . '</div>';
endwhile;
echo '</div>';
endif; ?>
<?php
$location = get_field('location');
if( $location ) {
// Loop over segments and construct HTML.
$address = '';
foreach( array('street_number', 'street_name', 'city', 'state', 'post_code', 'country') as $i => $k ) {
if( isset( $location[ $k ] ) ) {
$address .= sprintf( '<span class="segment-%s">%s</span>, ', $k, $location[ $k ] );
}
}
// Trim trailing comma.
$address = trim( $address, ', ' );
// Display HTML.
echo '<p>' . $address . '</p>';
}
$get_google_map = get_field('location', $value);
$lat = $get_google_map['lat'];
$long = $get_google_map['lng']; ?>
<a class="directions entry-button ct-button" target="_blank" href="https://www.google.com/maps?saddr=My+Location&daddr=<?php echo +$lat; ?>,<?php echo +$long; ?>">Get Directions</a>
<?php
if( have_rows('phones') ):
echo '<div class="phones">';
while( have_rows('phones') ) : the_row();
echo '<div class="phone"><strong>' . get_sub_field('label') . ':</strong> ' . get_sub_field('number') . '</div>';
endwhile;
echo '</div>';
endif; ?>
<?php
$location = get_field('location');
if( $location ) {
// Loop over segments and construct HTML.
$address = '';
foreach( array('street_number', 'street_name', 'city', 'state', 'post_code', 'country') as $i => $k ) {
if( isset( $location[ $k ] ) ) {
$address .= sprintf( '<span class="segment-%s">%s</span>, ', $k, $location[ $k ] );
}
}
// Trim trailing comma.
$address = trim( $address, ', ' );
// Display HTML.
echo '<p>' . $address . '</p>';
}
$get_google_map = get_field('location', $value);
$lat = $get_google_map['lat'];
$long = $get_google_map['lng']; ?>
<a class="directions entry-button ct-button" target="_blank" href="https://www.google.com/maps?saddr=My+Location&daddr=<?php echo +$lat; ?>,<?php echo +$long; ?>">Get Directions</a>
<?php
if( have_rows('phones') ):
echo '<div class="phones">';
while( have_rows('phones') ) : the_row();
echo '<div class="phone"><strong>' . get_sub_field('label') . ':</strong> ' . get_sub_field('number') . '</div>';
endwhile;
echo '</div>';
endif; ?>
<?php
$location = get_field('location');
if( $location ) {
// Loop over segments and construct HTML.
$address = '';
foreach( array('street_number', 'street_name', 'city', 'state', 'post_code', 'country') as $i => $k ) {
if( isset( $location[ $k ] ) ) {
$address .= sprintf( '<span class="segment-%s">%s</span>, ', $k, $location[ $k ] );
}
}
// Trim trailing comma.
$address = trim( $address, ', ' );
// Display HTML.
echo '<p>' . $address . '</p>';
}
$get_google_map = get_field('location', $value);
$lat = $get_google_map['lat'];
$long = $get_google_map['lng']; ?>
<a class="directions entry-button ct-button" target="_blank" href="https://www.google.com/maps?saddr=My+Location&daddr=<?php echo +$lat; ?>,<?php echo +$long; ?>">Get Directions</a>
<?php
if( have_rows('phones') ):
echo '<div class="phones">';
while( have_rows('phones') ) : the_row();
echo '<div class="phone"><strong>' . get_sub_field('label') . ':</strong> ' . get_sub_field('number') . '</div>';
endwhile;
echo '</div>';
endif; ?>
<?php
$location = get_field('location');
if( $location ) {
// Loop over segments and construct HTML.
$address = '';
foreach( array('street_number', 'street_name', 'city', 'state', 'post_code', 'country') as $i => $k ) {
if( isset( $location[ $k ] ) ) {
$address .= sprintf( '<span class="segment-%s">%s</span>, ', $k, $location[ $k ] );
}
}
// Trim trailing comma.
$address = trim( $address, ', ' );
// Display HTML.
echo '<p>' . $address . '</p>';
}
$get_google_map = get_field('location', $value);
$lat = $get_google_map['lat'];
$long = $get_google_map['lng']; ?>
<a class="directions entry-button ct-button" target="_blank" href="https://www.google.com/maps?saddr=My+Location&daddr=<?php echo +$lat; ?>,<?php echo +$long; ?>">Get Directions</a>
<?php
if( have_rows('phones') ):
echo '<div class="phones">';
while( have_rows('phones') ) : the_row();
echo '<div class="phone"><strong>' . get_sub_field('label') . ':</strong> ' . get_sub_field('number') . '</div>';
endwhile;
echo '</div>';
endif; ?>
<?php
$location = get_field('location');
if( $location ) {
// Loop over segments and construct HTML.
$address = '';
foreach( array('street_number', 'street_name', 'city', 'state', 'post_code', 'country') as $i => $k ) {
if( isset( $location[ $k ] ) ) {
$address .= sprintf( '<span class="segment-%s">%s</span>, ', $k, $location[ $k ] );
}
}
// Trim trailing comma.
$address = trim( $address, ', ' );
// Display HTML.
echo '<p>' . $address . '</p>';
}
$get_google_map = get_field('location', $value);
$lat = $get_google_map['lat'];
$long = $get_google_map['lng']; ?>
<a class="directions entry-button ct-button" target="_blank" href="https://www.google.com/maps?saddr=My+Location&daddr=<?php echo +$lat; ?>,<?php echo +$long; ?>">Get Directions</a>
<?php
if( have_rows('phones') ):
echo '<div class="phones">';
while( have_rows('phones') ) : the_row();
echo '<div class="phone"><strong>' . get_sub_field('label') . ':</strong> ' . get_sub_field('number') . '</div>';
endwhile;
echo '</div>';
endif; ?>
<?php
$location = get_field('location');
if( $location ) {
// Loop over segments and construct HTML.
$address = '';
foreach( array('street_number', 'street_name', 'city', 'state', 'post_code', 'country') as $i => $k ) {
if( isset( $location[ $k ] ) ) {
$address .= sprintf( '<span class="segment-%s">%s</span>, ', $k, $location[ $k ] );
}
}
// Trim trailing comma.
$address = trim( $address, ', ' );
// Display HTML.
echo '<p>' . $address . '</p>';
}
$get_google_map = get_field('location', $value);
$lat = $get_google_map['lat'];
$long = $get_google_map['lng']; ?>
<a class="directions entry-button ct-button" target="_blank" href="https://www.google.com/maps?saddr=My+Location&daddr=<?php echo +$lat; ?>,<?php echo +$long; ?>">Get Directions</a>
<?php
if( have_rows('phones') ):
echo '<div class="phones">';
while( have_rows('phones') ) : the_row();
echo '<div class="phone"><strong>' . get_sub_field('label') . ':</strong> ' . get_sub_field('number') . '</div>';
endwhile;
echo '</div>';
endif; ?>
<?php
$location = get_field('location');
if( $location ) {
// Loop over segments and construct HTML.
$address = '';
foreach( array('street_number', 'street_name', 'city', 'state', 'post_code', 'country') as $i => $k ) {
if( isset( $location[ $k ] ) ) {
$address .= sprintf( '<span class="segment-%s">%s</span>, ', $k, $location[ $k ] );
}
}
// Trim trailing comma.
$address = trim( $address, ', ' );
// Display HTML.
echo '<p>' . $address . '</p>';
}
$get_google_map = get_field('location', $value);
$lat = $get_google_map['lat'];
$long = $get_google_map['lng']; ?>
<a class="directions entry-button ct-button" target="_blank" href="https://www.google.com/maps?saddr=My+Location&daddr=<?php echo +$lat; ?>,<?php echo +$long; ?>">Get Directions</a>
<?php
if( have_rows('phones') ):
echo '<div class="phones">';
while( have_rows('phones') ) : the_row();
echo '<div class="phone"><strong>' . get_sub_field('label') . ':</strong> ' . get_sub_field('number') . '</div>';
endwhile;
echo '</div>';
endif; ?>
<?php
$location = get_field('location');
if( $location ) {
// Loop over segments and construct HTML.
$address = '';
foreach( array('street_number', 'street_name', 'city', 'state', 'post_code', 'country') as $i => $k ) {
if( isset( $location[ $k ] ) ) {
$address .= sprintf( '<span class="segment-%s">%s</span>, ', $k, $location[ $k ] );
}
}
// Trim trailing comma.
$address = trim( $address, ', ' );
// Display HTML.
echo '<p>' . $address . '</p>';
}
$get_google_map = get_field('location', $value);
$lat = $get_google_map['lat'];
$long = $get_google_map['lng']; ?>
<a class="directions entry-button ct-button" target="_blank" href="https://www.google.com/maps?saddr=My+Location&daddr=<?php echo +$lat; ?>,<?php echo +$long; ?>">Get Directions</a>
<?php
if( have_rows('phones') ):
echo '<div class="phones">';
while( have_rows('phones') ) : the_row();
echo '<div class="phone"><strong>' . get_sub_field('label') . ':</strong> ' . get_sub_field('number') . '</div>';
endwhile;
echo '</div>';
endif; ?>
<?php
$location = get_field('location');
if( $location ) {
// Loop over segments and construct HTML.
$address = '';
foreach( array('street_number', 'street_name', 'city', 'state', 'post_code', 'country') as $i => $k ) {
if( isset( $location[ $k ] ) ) {
$address .= sprintf( '<span class="segment-%s">%s</span>, ', $k, $location[ $k ] );
}
}
// Trim trailing comma.
$address = trim( $address, ', ' );
// Display HTML.
echo '<p>' . $address . '</p>';
}
$get_google_map = get_field('location', $value);
$lat = $get_google_map['lat'];
$long = $get_google_map['lng']; ?>
<a class="directions entry-button ct-button" target="_blank" href="https://www.google.com/maps?saddr=My+Location&daddr=<?php echo +$lat; ?>,<?php echo +$long; ?>">Get Directions</a>
<?php
if( have_rows('phones') ):
echo '<div class="phones">';
while( have_rows('phones') ) : the_row();
echo '<div class="phone"><strong>' . get_sub_field('label') . ':</strong> ' . get_sub_field('number') . '</div>';
endwhile;
echo '</div>';
endif; ?>
<?php
$location = get_field('location');
if( $location ) {
// Loop over segments and construct HTML.
$address = '';
foreach( array('street_number', 'street_name', 'city', 'state', 'post_code', 'country') as $i => $k ) {
if( isset( $location[ $k ] ) ) {
$address .= sprintf( '<span class="segment-%s">%s</span>, ', $k, $location[ $k ] );
}
}
// Trim trailing comma.
$address = trim( $address, ', ' );
// Display HTML.
echo '<p>' . $address . '</p>';
}
$get_google_map = get_field('location', $value);
$lat = $get_google_map['lat'];
$long = $get_google_map['lng']; ?>
<a class="directions entry-button ct-button" target="_blank" href="https://www.google.com/maps?saddr=My+Location&daddr=<?php echo +$lat; ?>,<?php echo +$long; ?>">Get Directions</a>
<?php
if( have_rows('phones') ):
echo '<div class="phones">';
while( have_rows('phones') ) : the_row();
echo '<div class="phone"><strong>' . get_sub_field('label') . ':</strong> ' . get_sub_field('number') . '</div>';
endwhile;
echo '</div>';
endif; ?>
<?php
$location = get_field('location');
if( $location ) {
// Loop over segments and construct HTML.
$address = '';
foreach( array('street_number', 'street_name', 'city', 'state', 'post_code', 'country') as $i => $k ) {
if( isset( $location[ $k ] ) ) {
$address .= sprintf( '<span class="segment-%s">%s</span>, ', $k, $location[ $k ] );
}
}
// Trim trailing comma.
$address = trim( $address, ', ' );
// Display HTML.
echo '<p>' . $address . '</p>';
}
$get_google_map = get_field('location', $value);
$lat = $get_google_map['lat'];
$long = $get_google_map['lng']; ?>
<a class="directions entry-button ct-button" target="_blank" href="https://www.google.com/maps?saddr=My+Location&daddr=<?php echo +$lat; ?>,<?php echo +$long; ?>">Get Directions</a>
<?php
if( have_rows('phones') ):
echo '<div class="phones">';
while( have_rows('phones') ) : the_row();
echo '<div class="phone"><strong>' . get_sub_field('label') . ':</strong> ' . get_sub_field('number') . '</div>';
endwhile;
echo '</div>';
endif; ?>
<?php
$location = get_field('location');
if( $location ) {
// Loop over segments and construct HTML.
$address = '';
foreach( array('street_number', 'street_name', 'city', 'state', 'post_code', 'country') as $i => $k ) {
if( isset( $location[ $k ] ) ) {
$address .= sprintf( '<span class="segment-%s">%s</span>, ', $k, $location[ $k ] );
}
}
// Trim trailing comma.
$address = trim( $address, ', ' );
// Display HTML.
echo '<p>' . $address . '</p>';
}
$get_google_map = get_field('location', $value);
$lat = $get_google_map['lat'];
$long = $get_google_map['lng']; ?>
<a class="directions entry-button ct-button" target="_blank" href="https://www.google.com/maps?saddr=My+Location&daddr=<?php echo +$lat; ?>,<?php echo +$long; ?>">Get Directions</a>
<?php
if( have_rows('phones') ):
echo '<div class="phones">';
while( have_rows('phones') ) : the_row();
echo '<div class="phone"><strong>' . get_sub_field('label') . ':</strong> ' . get_sub_field('number') . '</div>';
endwhile;
echo '</div>';
endif; ?>
<?php
$location = get_field('location');
if( $location ) {
// Loop over segments and construct HTML.
$address = '';
foreach( array('street_number', 'street_name', 'city', 'state', 'post_code', 'country') as $i => $k ) {
if( isset( $location[ $k ] ) ) {
$address .= sprintf( '<span class="segment-%s">%s</span>, ', $k, $location[ $k ] );
}
}
// Trim trailing comma.
$address = trim( $address, ', ' );
// Display HTML.
echo '<p>' . $address . '</p>';
}
$get_google_map = get_field('location', $value);
$lat = $get_google_map['lat'];
$long = $get_google_map['lng']; ?>
<a class="directions entry-button ct-button" target="_blank" href="https://www.google.com/maps?saddr=My+Location&daddr=<?php echo +$lat; ?>,<?php echo +$long; ?>">Get Directions</a>
<?php
if( have_rows('phones') ):
echo '<div class="phones">';
while( have_rows('phones') ) : the_row();
echo '<div class="phone"><strong>' . get_sub_field('label') . ':</strong> ' . get_sub_field('number') . '</div>';
endwhile;
echo '</div>';
endif; ?>
<?php
$location = get_field('location');
if( $location ) {
// Loop over segments and construct HTML.
$address = '';
foreach( array('street_number', 'street_name', 'city', 'state', 'post_code', 'country') as $i => $k ) {
if( isset( $location[ $k ] ) ) {
$address .= sprintf( '<span class="segment-%s">%s</span>, ', $k, $location[ $k ] );
}
}
// Trim trailing comma.
$address = trim( $address, ', ' );
// Display HTML.
echo '<p>' . $address . '</p>';
}
$get_google_map = get_field('location', $value);
$lat = $get_google_map['lat'];
$long = $get_google_map['lng']; ?>
<a class="directions entry-button ct-button" target="_blank" href="https://www.google.com/maps?saddr=My+Location&daddr=<?php echo +$lat; ?>,<?php echo +$long; ?>">Get Directions</a>
<?php
if( have_rows('phones') ):
echo '<div class="phones">';
while( have_rows('phones') ) : the_row();
echo '<div class="phone"><strong>' . get_sub_field('label') . ':</strong> ' . get_sub_field('number') . '</div>';
endwhile;
echo '</div>';
endif; ?>
<?php
$location = get_field('location');
if( $location ) {
// Loop over segments and construct HTML.
$address = '';
foreach( array('street_number', 'street_name', 'city', 'state', 'post_code', 'country') as $i => $k ) {
if( isset( $location[ $k ] ) ) {
$address .= sprintf( '<span class="segment-%s">%s</span>, ', $k, $location[ $k ] );
}
}
// Trim trailing comma.
$address = trim( $address, ', ' );
// Display HTML.
echo '<p>' . $address . '</p>';
}
$get_google_map = get_field('location', $value);
$lat = $get_google_map['lat'];
$long = $get_google_map['lng']; ?>
<a class="directions entry-button ct-button" target="_blank" href="https://www.google.com/maps?saddr=My+Location&daddr=<?php echo +$lat; ?>,<?php echo +$long; ?>">Get Directions</a>
<?php
if( have_rows('phones') ):
echo '<div class="phones">';
while( have_rows('phones') ) : the_row();
echo '<div class="phone"><strong>' . get_sub_field('label') . ':</strong> ' . get_sub_field('number') . '</div>';
endwhile;
echo '</div>';
endif; ?>
<?php
$location = get_field('location');
if( $location ) {
// Loop over segments and construct HTML.
$address = '';
foreach( array('street_number', 'street_name', 'city', 'state', 'post_code', 'country') as $i => $k ) {
if( isset( $location[ $k ] ) ) {
$address .= sprintf( '<span class="segment-%s">%s</span>, ', $k, $location[ $k ] );
}
}
// Trim trailing comma.
$address = trim( $address, ', ' );
// Display HTML.
echo '<p>' . $address . '</p>';
}
$get_google_map = get_field('location', $value);
$lat = $get_google_map['lat'];
$long = $get_google_map['lng']; ?>
<a class="directions entry-button ct-button" target="_blank" href="https://www.google.com/maps?saddr=My+Location&daddr=<?php echo +$lat; ?>,<?php echo +$long; ?>">Get Directions</a>
<?php
if( have_rows('phones') ):
echo '<div class="phones">';
while( have_rows('phones') ) : the_row();
echo '<div class="phone"><strong>' . get_sub_field('label') . ':</strong> ' . get_sub_field('number') . '</div>';
endwhile;
echo '</div>';
endif; ?>
<?php
$location = get_field('location');
if( $location ) {
// Loop over segments and construct HTML.
$address = '';
foreach( array('street_number', 'street_name', 'city', 'state', 'post_code', 'country') as $i => $k ) {
if( isset( $location[ $k ] ) ) {
$address .= sprintf( '<span class="segment-%s">%s</span>, ', $k, $location[ $k ] );
}
}
// Trim trailing comma.
$address = trim( $address, ', ' );
// Display HTML.
echo '<p>' . $address . '</p>';
}
$get_google_map = get_field('location', $value);
$lat = $get_google_map['lat'];
$long = $get_google_map['lng']; ?>
<a class="directions entry-button ct-button" target="_blank" href="https://www.google.com/maps?saddr=My+Location&daddr=<?php echo +$lat; ?>,<?php echo +$long; ?>">Get Directions</a>
<?php
if( have_rows('phones') ):
echo '<div class="phones">';
while( have_rows('phones') ) : the_row();
echo '<div class="phone"><strong>' . get_sub_field('label') . ':</strong> ' . get_sub_field('number') . '</div>';
endwhile;
echo '</div>';
endif; ?>
<?php
$location = get_field('location');
if( $location ) {
// Loop over segments and construct HTML.
$address = '';
foreach( array('street_number', 'street_name', 'city', 'state', 'post_code', 'country') as $i => $k ) {
if( isset( $location[ $k ] ) ) {
$address .= sprintf( '<span class="segment-%s">%s</span>, ', $k, $location[ $k ] );
}
}
// Trim trailing comma.
$address = trim( $address, ', ' );
// Display HTML.
echo '<p>' . $address . '</p>';
}
$get_google_map = get_field('location', $value);
$lat = $get_google_map['lat'];
$long = $get_google_map['lng']; ?>
<a class="directions entry-button ct-button" target="_blank" href="https://www.google.com/maps?saddr=My+Location&daddr=<?php echo +$lat; ?>,<?php echo +$long; ?>">Get Directions</a>
<?php
if( have_rows('phones') ):
echo '<div class="phones">';
while( have_rows('phones') ) : the_row();
echo '<div class="phone"><strong>' . get_sub_field('label') . ':</strong> ' . get_sub_field('number') . '</div>';
endwhile;
echo '</div>';
endif; ?>
<?php
$location = get_field('location');
if( $location ) {
// Loop over segments and construct HTML.
$address = '';
foreach( array('street_number', 'street_name', 'city', 'state', 'post_code', 'country') as $i => $k ) {
if( isset( $location[ $k ] ) ) {
$address .= sprintf( '<span class="segment-%s">%s</span>, ', $k, $location[ $k ] );
}
}
// Trim trailing comma.
$address = trim( $address, ', ' );
// Display HTML.
echo '<p>' . $address . '</p>';
}
$get_google_map = get_field('location', $value);
$lat = $get_google_map['lat'];
$long = $get_google_map['lng']; ?>
<a class="directions entry-button ct-button" target="_blank" href="https://www.google.com/maps?saddr=My+Location&daddr=<?php echo +$lat; ?>,<?php echo +$long; ?>">Get Directions</a>
<?php
if( have_rows('phones') ):
echo '<div class="phones">';
while( have_rows('phones') ) : the_row();
echo '<div class="phone"><strong>' . get_sub_field('label') . ':</strong> ' . get_sub_field('number') . '</div>';
endwhile;
echo '</div>';
endif; ?>
<?php
$location = get_field('location');
if( $location ) {
// Loop over segments and construct HTML.
$address = '';
foreach( array('street_number', 'street_name', 'city', 'state', 'post_code', 'country') as $i => $k ) {
if( isset( $location[ $k ] ) ) {
$address .= sprintf( '<span class="segment-%s">%s</span>, ', $k, $location[ $k ] );
}
}
// Trim trailing comma.
$address = trim( $address, ', ' );
// Display HTML.
echo '<p>' . $address . '</p>';
}
$get_google_map = get_field('location', $value);
$lat = $get_google_map['lat'];
$long = $get_google_map['lng']; ?>
<a class="directions entry-button ct-button" target="_blank" href="https://www.google.com/maps?saddr=My+Location&daddr=<?php echo +$lat; ?>,<?php echo +$long; ?>">Get Directions</a>
<?php
if( have_rows('phones') ):
echo '<div class="phones">';
while( have_rows('phones') ) : the_row();
echo '<div class="phone"><strong>' . get_sub_field('label') . ':</strong> ' . get_sub_field('number') . '</div>';
endwhile;
echo '</div>';
endif; ?>
<?php
$location = get_field('location');
if( $location ) {
// Loop over segments and construct HTML.
$address = '';
foreach( array('street_number', 'street_name', 'city', 'state', 'post_code', 'country') as $i => $k ) {
if( isset( $location[ $k ] ) ) {
$address .= sprintf( '<span class="segment-%s">%s</span>, ', $k, $location[ $k ] );
}
}
// Trim trailing comma.
$address = trim( $address, ', ' );
// Display HTML.
echo '<p>' . $address . '</p>';
}
$get_google_map = get_field('location', $value);
$lat = $get_google_map['lat'];
$long = $get_google_map['lng']; ?>
<a class="directions entry-button ct-button" target="_blank" href="https://www.google.com/maps?saddr=My+Location&daddr=<?php echo +$lat; ?>,<?php echo +$long; ?>">Get Directions</a>
<?php
if( have_rows('phones') ):
echo '<div class="phones">';
while( have_rows('phones') ) : the_row();
echo '<div class="phone"><strong>' . get_sub_field('label') . ':</strong> ' . get_sub_field('number') . '</div>';
endwhile;
echo '</div>';
endif; ?>
<?php
$location = get_field('location');
if( $location ) {
// Loop over segments and construct HTML.
$address = '';
foreach( array('street_number', 'street_name', 'city', 'state', 'post_code', 'country') as $i => $k ) {
if( isset( $location[ $k ] ) ) {
$address .= sprintf( '<span class="segment-%s">%s</span>, ', $k, $location[ $k ] );
}
}
// Trim trailing comma.
$address = trim( $address, ', ' );
// Display HTML.
echo '<p>' . $address . '</p>';
}
$get_google_map = get_field('location', $value);
$lat = $get_google_map['lat'];
$long = $get_google_map['lng']; ?>
<a class="directions entry-button ct-button" target="_blank" href="https://www.google.com/maps?saddr=My+Location&daddr=<?php echo +$lat; ?>,<?php echo +$long; ?>">Get Directions</a>
<?php
if( have_rows('phones') ):
echo '<div class="phones">';
while( have_rows('phones') ) : the_row();
echo '<div class="phone"><strong>' . get_sub_field('label') . ':</strong> ' . get_sub_field('number') . '</div>';
endwhile;
echo '</div>';
endif; ?>
<?php
$location = get_field('location');
if( $location ) {
// Loop over segments and construct HTML.
$address = '';
foreach( array('street_number', 'street_name', 'city', 'state', 'post_code', 'country') as $i => $k ) {
if( isset( $location[ $k ] ) ) {
$address .= sprintf( '<span class="segment-%s">%s</span>, ', $k, $location[ $k ] );
}
}
// Trim trailing comma.
$address = trim( $address, ', ' );
// Display HTML.
echo '<p>' . $address . '</p>';
}
$get_google_map = get_field('location', $value);
$lat = $get_google_map['lat'];
$long = $get_google_map['lng']; ?>
<a class="directions entry-button ct-button" target="_blank" href="https://www.google.com/maps?saddr=My+Location&daddr=<?php echo +$lat; ?>,<?php echo +$long; ?>">Get Directions</a>
<?php
if( have_rows('phones') ):
echo '<div class="phones">';
while( have_rows('phones') ) : the_row();
echo '<div class="phone"><strong>' . get_sub_field('label') . ':</strong> ' . get_sub_field('number') . '</div>';
endwhile;
echo '</div>';
endif; ?>
<?php
$location = get_field('location');
if( $location ) {
// Loop over segments and construct HTML.
$address = '';
foreach( array('street_number', 'street_name', 'city', 'state', 'post_code', 'country') as $i => $k ) {
if( isset( $location[ $k ] ) ) {
$address .= sprintf( '<span class="segment-%s">%s</span>, ', $k, $location[ $k ] );
}
}
// Trim trailing comma.
$address = trim( $address, ', ' );
// Display HTML.
echo '<p>' . $address . '</p>';
}
$get_google_map = get_field('location', $value);
$lat = $get_google_map['lat'];
$long = $get_google_map['lng']; ?>
<a class="directions entry-button ct-button" target="_blank" href="https://www.google.com/maps?saddr=My+Location&daddr=<?php echo +$lat; ?>,<?php echo +$long; ?>">Get Directions</a>
<?php
if( have_rows('phones') ):
echo '<div class="phones">';
while( have_rows('phones') ) : the_row();
echo '<div class="phone"><strong>' . get_sub_field('label') . ':</strong> ' . get_sub_field('number') . '</div>';
endwhile;
echo '</div>';
endif; ?>
<?php
$location = get_field('location');
if( $location ) {
// Loop over segments and construct HTML.
$address = '';
foreach( array('street_number', 'street_name', 'city', 'state', 'post_code', 'country') as $i => $k ) {
if( isset( $location[ $k ] ) ) {
$address .= sprintf( '<span class="segment-%s">%s</span>, ', $k, $location[ $k ] );
}
}
// Trim trailing comma.
$address = trim( $address, ', ' );
// Display HTML.
echo '<p>' . $address . '</p>';
}
$get_google_map = get_field('location', $value);
$lat = $get_google_map['lat'];
$long = $get_google_map['lng']; ?>
<a class="directions entry-button ct-button" target="_blank" href="https://www.google.com/maps?saddr=My+Location&daddr=<?php echo +$lat; ?>,<?php echo +$long; ?>">Get Directions</a>
<?php
if( have_rows('phones') ):
echo '<div class="phones">';
while( have_rows('phones') ) : the_row();
echo '<div class="phone"><strong>' . get_sub_field('label') . ':</strong> ' . get_sub_field('number') . '</div>';
endwhile;
echo '</div>';
endif; ?>
<?php
$location = get_field('location');
if( $location ) {
// Loop over segments and construct HTML.
$address = '';
foreach( array('street_number', 'street_name', 'city', 'state', 'post_code', 'country') as $i => $k ) {
if( isset( $location[ $k ] ) ) {
$address .= sprintf( '<span class="segment-%s">%s</span>, ', $k, $location[ $k ] );
}
}
// Trim trailing comma.
$address = trim( $address, ', ' );
// Display HTML.
echo '<p>' . $address . '</p>';
}
$get_google_map = get_field('location', $value);
$lat = $get_google_map['lat'];
$long = $get_google_map['lng']; ?>
<a class="directions entry-button ct-button" target="_blank" href="https://www.google.com/maps?saddr=My+Location&daddr=<?php echo +$lat; ?>,<?php echo +$long; ?>">Get Directions</a>
<?php
if( have_rows('phones') ):
echo '<div class="phones">';
while( have_rows('phones') ) : the_row();
echo '<div class="phone"><strong>' . get_sub_field('label') . ':</strong> ' . get_sub_field('number') . '</div>';
endwhile;
echo '</div>';
endif; ?>
<?php
$location = get_field('location');
if( $location ) {
// Loop over segments and construct HTML.
$address = '';
foreach( array('street_number', 'street_name', 'city', 'state', 'post_code', 'country') as $i => $k ) {
if( isset( $location[ $k ] ) ) {
$address .= sprintf( '<span class="segment-%s">%s</span>, ', $k, $location[ $k ] );
}
}
// Trim trailing comma.
$address = trim( $address, ', ' );
// Display HTML.
echo '<p>' . $address . '</p>';
}
$get_google_map = get_field('location', $value);
$lat = $get_google_map['lat'];
$long = $get_google_map['lng']; ?>
<a class="directions entry-button ct-button" target="_blank" href="https://www.google.com/maps?saddr=My+Location&daddr=<?php echo +$lat; ?>,<?php echo +$long; ?>">Get Directions</a>
<?php
if( have_rows('phones') ):
echo '<div class="phones">';
while( have_rows('phones') ) : the_row();
echo '<div class="phone"><strong>' . get_sub_field('label') . ':</strong> ' . get_sub_field('number') . '</div>';
endwhile;
echo '</div>';
endif; ?>
<?php
$location = get_field('location');
if( $location ) {
// Loop over segments and construct HTML.
$address = '';
foreach( array('street_number', 'street_name', 'city', 'state', 'post_code', 'country') as $i => $k ) {
if( isset( $location[ $k ] ) ) {
$address .= sprintf( '<span class="segment-%s">%s</span>, ', $k, $location[ $k ] );
}
}
// Trim trailing comma.
$address = trim( $address, ', ' );
// Display HTML.
echo '<p>' . $address . '</p>';
}
$get_google_map = get_field('location', $value);
$lat = $get_google_map['lat'];
$long = $get_google_map['lng']; ?>
<a class="directions entry-button ct-button" target="_blank" href="https://www.google.com/maps?saddr=My+Location&daddr=<?php echo +$lat; ?>,<?php echo +$long; ?>">Get Directions</a>
<?php
if( have_rows('phones') ):
echo '<div class="phones">';
while( have_rows('phones') ) : the_row();
echo '<div class="phone"><strong>' . get_sub_field('label') . ':</strong> ' . get_sub_field('number') . '</div>';
endwhile;
echo '</div>';
endif; ?>
<?php
$location = get_field('location');
if( $location ) {
// Loop over segments and construct HTML.
$address = '';
foreach( array('street_number', 'street_name', 'city', 'state', 'post_code', 'country') as $i => $k ) {
if( isset( $location[ $k ] ) ) {
$address .= sprintf( '<span class="segment-%s">%s</span>, ', $k, $location[ $k ] );
}
}
// Trim trailing comma.
$address = trim( $address, ', ' );
// Display HTML.
echo '<p>' . $address . '</p>';
}
$get_google_map = get_field('location', $value);
$lat = $get_google_map['lat'];
$long = $get_google_map['lng']; ?>
<a class="directions entry-button ct-button" target="_blank" href="https://www.google.com/maps?saddr=My+Location&daddr=<?php echo +$lat; ?>,<?php echo +$long; ?>">Get Directions</a>
<?php
if( have_rows('phones') ):
echo '<div class="phones">';
while( have_rows('phones') ) : the_row();
echo '<div class="phone"><strong>' . get_sub_field('label') . ':</strong> ' . get_sub_field('number') . '</div>';
endwhile;
echo '</div>';
endif; ?>
<?php
$location = get_field('location');
if( $location ) {
// Loop over segments and construct HTML.
$address = '';
foreach( array('street_number', 'street_name', 'city', 'state', 'post_code', 'country') as $i => $k ) {
if( isset( $location[ $k ] ) ) {
$address .= sprintf( '<span class="segment-%s">%s</span>, ', $k, $location[ $k ] );
}
}
// Trim trailing comma.
$address = trim( $address, ', ' );
// Display HTML.
echo '<p>' . $address . '</p>';
}
$get_google_map = get_field('location', $value);
$lat = $get_google_map['lat'];
$long = $get_google_map['lng']; ?>
<a class="directions entry-button ct-button" target="_blank" href="https://www.google.com/maps?saddr=My+Location&daddr=<?php echo +$lat; ?>,<?php echo +$long; ?>">Get Directions</a>
<?php
if( have_rows('phones') ):
echo '<div class="phones">';
while( have_rows('phones') ) : the_row();
echo '<div class="phone"><strong>' . get_sub_field('label') . ':</strong> ' . get_sub_field('number') . '</div>';
endwhile;
echo '</div>';
endif; ?>
<?php
$location = get_field('location');
if( $location ) {
// Loop over segments and construct HTML.
$address = '';
foreach( array('street_number', 'street_name', 'city', 'state', 'post_code', 'country') as $i => $k ) {
if( isset( $location[ $k ] ) ) {
$address .= sprintf( '<span class="segment-%s">%s</span>, ', $k, $location[ $k ] );
}
}
// Trim trailing comma.
$address = trim( $address, ', ' );
// Display HTML.
echo '<p>' . $address . '</p>';
}
$get_google_map = get_field('location', $value);
$lat = $get_google_map['lat'];
$long = $get_google_map['lng']; ?>
<a class="directions entry-button ct-button" target="_blank" href="https://www.google.com/maps?saddr=My+Location&daddr=<?php echo +$lat; ?>,<?php echo +$long; ?>">Get Directions</a>
<?php
if( have_rows('phones') ):
echo '<div class="phones">';
while( have_rows('phones') ) : the_row();
echo '<div class="phone"><strong>' . get_sub_field('label') . ':</strong> ' . get_sub_field('number') . '</div>';
endwhile;
echo '</div>';
endif; ?>
<?php
$location = get_field('location');
if( $location ) {
// Loop over segments and construct HTML.
$address = '';
foreach( array('street_number', 'street_name', 'city', 'state', 'post_code', 'country') as $i => $k ) {
if( isset( $location[ $k ] ) ) {
$address .= sprintf( '<span class="segment-%s">%s</span>, ', $k, $location[ $k ] );
}
}
// Trim trailing comma.
$address = trim( $address, ', ' );
// Display HTML.
echo '<p>' . $address . '</p>';
}
$get_google_map = get_field('location', $value);
$lat = $get_google_map['lat'];
$long = $get_google_map['lng']; ?>
<a class="directions entry-button ct-button" target="_blank" href="https://www.google.com/maps?saddr=My+Location&daddr=<?php echo +$lat; ?>,<?php echo +$long; ?>">Get Directions</a>
<?php
if( have_rows('phones') ):
echo '<div class="phones">';
while( have_rows('phones') ) : the_row();
echo '<div class="phone"><strong>' . get_sub_field('label') . ':</strong> ' . get_sub_field('number') . '</div>';
endwhile;
echo '</div>';
endif; ?>
<?php
$location = get_field('location');
if( $location ) {
// Loop over segments and construct HTML.
$address = '';
foreach( array('street_number', 'street_name', 'city', 'state', 'post_code', 'country') as $i => $k ) {
if( isset( $location[ $k ] ) ) {
$address .= sprintf( '<span class="segment-%s">%s</span>, ', $k, $location[ $k ] );
}
}
// Trim trailing comma.
$address = trim( $address, ', ' );
// Display HTML.
echo '<p>' . $address . '</p>';
}
$get_google_map = get_field('location', $value);
$lat = $get_google_map['lat'];
$long = $get_google_map['lng']; ?>
<a class="directions entry-button ct-button" target="_blank" href="https://www.google.com/maps?saddr=My+Location&daddr=<?php echo +$lat; ?>,<?php echo +$long; ?>">Get Directions</a>
<?php
if( have_rows('phones') ):
echo '<div class="phones">';
while( have_rows('phones') ) : the_row();
echo '<div class="phone"><strong>' . get_sub_field('label') . ':</strong> ' . get_sub_field('number') . '</div>';
endwhile;
echo '</div>';
endif; ?>
<?php
$location = get_field('location');
if( $location ) {
// Loop over segments and construct HTML.
$address = '';
foreach( array('street_number', 'street_name', 'city', 'state', 'post_code', 'country') as $i => $k ) {
if( isset( $location[ $k ] ) ) {
$address .= sprintf( '<span class="segment-%s">%s</span>, ', $k, $location[ $k ] );
}
}
// Trim trailing comma.
$address = trim( $address, ', ' );
// Display HTML.
echo '<p>' . $address . '</p>';
}
$get_google_map = get_field('location', $value);
$lat = $get_google_map['lat'];
$long = $get_google_map['lng']; ?>
<a class="directions entry-button ct-button" target="_blank" href="https://www.google.com/maps?saddr=My+Location&daddr=<?php echo +$lat; ?>,<?php echo +$long; ?>">Get Directions</a>
<?php
if( have_rows('phones') ):
echo '<div class="phones">';
while( have_rows('phones') ) : the_row();
echo '<div class="phone"><strong>' . get_sub_field('label') . ':</strong> ' . get_sub_field('number') . '</div>';
endwhile;
echo '</div>';
endif; ?>
<?php
$location = get_field('location');
if( $location ) {
// Loop over segments and construct HTML.
$address = '';
foreach( array('street_number', 'street_name', 'city', 'state', 'post_code', 'country') as $i => $k ) {
if( isset( $location[ $k ] ) ) {
$address .= sprintf( '<span class="segment-%s">%s</span>, ', $k, $location[ $k ] );
}
}
// Trim trailing comma.
$address = trim( $address, ', ' );
// Display HTML.
echo '<p>' . $address . '</p>';
}
$get_google_map = get_field('location', $value);
$lat = $get_google_map['lat'];
$long = $get_google_map['lng']; ?>
<a class="directions entry-button ct-button" target="_blank" href="https://www.google.com/maps?saddr=My+Location&daddr=<?php echo +$lat; ?>,<?php echo +$long; ?>">Get Directions</a>
<?php
if( have_rows('phones') ):
echo '<div class="phones">';
while( have_rows('phones') ) : the_row();
echo '<div class="phone"><strong>' . get_sub_field('label') . ':</strong> ' . get_sub_field('number') . '</div>';
endwhile;
echo '</div>';
endif; ?>
<?php
$location = get_field('location');
if( $location ) {
// Loop over segments and construct HTML.
$address = '';
foreach( array('street_number', 'street_name', 'city', 'state', 'post_code', 'country') as $i => $k ) {
if( isset( $location[ $k ] ) ) {
$address .= sprintf( '<span class="segment-%s">%s</span>, ', $k, $location[ $k ] );
}
}
// Trim trailing comma.
$address = trim( $address, ', ' );
// Display HTML.
echo '<p>' . $address . '</p>';
}
$get_google_map = get_field('location', $value);
$lat = $get_google_map['lat'];
$long = $get_google_map['lng']; ?>
<a class="directions entry-button ct-button" target="_blank" href="https://www.google.com/maps?saddr=My+Location&daddr=<?php echo +$lat; ?>,<?php echo +$long; ?>">Get Directions</a>
<?php
if( have_rows('phones') ):
echo '<div class="phones">';
while( have_rows('phones') ) : the_row();
echo '<div class="phone"><strong>' . get_sub_field('label') . ':</strong> ' . get_sub_field('number') . '</div>';
endwhile;
echo '</div>';
endif; ?>
<?php
$location = get_field('location');
if( $location ) {
// Loop over segments and construct HTML.
$address = '';
foreach( array('street_number', 'street_name', 'city', 'state', 'post_code', 'country') as $i => $k ) {
if( isset( $location[ $k ] ) ) {
$address .= sprintf( '<span class="segment-%s">%s</span>, ', $k, $location[ $k ] );
}
}
// Trim trailing comma.
$address = trim( $address, ', ' );
// Display HTML.
echo '<p>' . $address . '</p>';
}
$get_google_map = get_field('location', $value);
$lat = $get_google_map['lat'];
$long = $get_google_map['lng']; ?>
<a class="directions entry-button ct-button" target="_blank" href="https://www.google.com/maps?saddr=My+Location&daddr=<?php echo +$lat; ?>,<?php echo +$long; ?>">Get Directions</a>
<?php
if( have_rows('phones') ):
echo '<div class="phones">';
while( have_rows('phones') ) : the_row();
echo '<div class="phone"><strong>' . get_sub_field('label') . ':</strong> ' . get_sub_field('number') . '</div>';
endwhile;
echo '</div>';
endif; ?>
<?php
$location = get_field('location');
if( $location ) {
// Loop over segments and construct HTML.
$address = '';
foreach( array('street_number', 'street_name', 'city', 'state', 'post_code', 'country') as $i => $k ) {
if( isset( $location[ $k ] ) ) {
$address .= sprintf( '<span class="segment-%s">%s</span>, ', $k, $location[ $k ] );
}
}
// Trim trailing comma.
$address = trim( $address, ', ' );
// Display HTML.
echo '<p>' . $address . '</p>';
}
$get_google_map = get_field('location', $value);
$lat = $get_google_map['lat'];
$long = $get_google_map['lng']; ?>
<a class="directions entry-button ct-button" target="_blank" href="https://www.google.com/maps?saddr=My+Location&daddr=<?php echo +$lat; ?>,<?php echo +$long; ?>">Get Directions</a>
<?php
if( have_rows('phones') ):
echo '<div class="phones">';
while( have_rows('phones') ) : the_row();
echo '<div class="phone"><strong>' . get_sub_field('label') . ':</strong> ' . get_sub_field('number') . '</div>';
endwhile;
echo '</div>';
endif; ?>
<?php
$location = get_field('location');
if( $location ) {
// Loop over segments and construct HTML.
$address = '';
foreach( array('street_number', 'street_name', 'city', 'state', 'post_code', 'country') as $i => $k ) {
if( isset( $location[ $k ] ) ) {
$address .= sprintf( '<span class="segment-%s">%s</span>, ', $k, $location[ $k ] );
}
}
// Trim trailing comma.
$address = trim( $address, ', ' );
// Display HTML.
echo '<p>' . $address . '</p>';
}
$get_google_map = get_field('location', $value);
$lat = $get_google_map['lat'];
$long = $get_google_map['lng']; ?>
<a class="directions entry-button ct-button" target="_blank" href="https://www.google.com/maps?saddr=My+Location&daddr=<?php echo +$lat; ?>,<?php echo +$long; ?>">Get Directions</a>
<?php
if( have_rows('phones') ):
echo '<div class="phones">';
while( have_rows('phones') ) : the_row();
echo '<div class="phone"><strong>' . get_sub_field('label') . ':</strong> ' . get_sub_field('number') . '</div>';
endwhile;
echo '</div>';
endif; ?>
<?php
$location = get_field('location');
if( $location ) {
// Loop over segments and construct HTML.
$address = '';
foreach( array('street_number', 'street_name', 'city', 'state', 'post_code', 'country') as $i => $k ) {
if( isset( $location[ $k ] ) ) {
$address .= sprintf( '<span class="segment-%s">%s</span>, ', $k, $location[ $k ] );
}
}
// Trim trailing comma.
$address = trim( $address, ', ' );
// Display HTML.
echo '<p>' . $address . '</p>';
}
$get_google_map = get_field('location', $value);
$lat = $get_google_map['lat'];
$long = $get_google_map['lng']; ?>
<a class="directions entry-button ct-button" target="_blank" href="https://www.google.com/maps?saddr=My+Location&daddr=<?php echo +$lat; ?>,<?php echo +$long; ?>">Get Directions</a>
<?php
if( have_rows('phones') ):
echo '<div class="phones">';
while( have_rows('phones') ) : the_row();
echo '<div class="phone"><strong>' . get_sub_field('label') . ':</strong> ' . get_sub_field('number') . '</div>';
endwhile;
echo '</div>';
endif; ?>
<?php
$location = get_field('location');
if( $location ) {
// Loop over segments and construct HTML.
$address = '';
foreach( array('street_number', 'street_name', 'city', 'state', 'post_code', 'country') as $i => $k ) {
if( isset( $location[ $k ] ) ) {
$address .= sprintf( '<span class="segment-%s">%s</span>, ', $k, $location[ $k ] );
}
}
// Trim trailing comma.
$address = trim( $address, ', ' );
// Display HTML.
echo '<p>' . $address . '</p>';
}
$get_google_map = get_field('location', $value);
$lat = $get_google_map['lat'];
$long = $get_google_map['lng']; ?>
<a class="directions entry-button ct-button" target="_blank" href="https://www.google.com/maps?saddr=My+Location&daddr=<?php echo +$lat; ?>,<?php echo +$long; ?>">Get Directions</a>