Finder a Center Test
closest_centers();
$id = $centers[0]['id'];
?>
'center', 'p' => $id);
$loop = new WP_Query($args);
while ($loop->have_posts()) : $loop->the_post();
$location = get_field('address');
$term = get_the_terms($post->ID, 'location');
$sub_term = $term[0]->name;
$term = ($term[0]->parent == 0) ? $term[0]->name : $term[1]->name;
?>