Locations & Hours
'location',
'post_status' => 'publish',
'posts_per_page' => -1,
'meta_key' => 'category',
'orderby' => array(
'meta_value' => 'ASC',
'title' => 'ASC',
),
'order' => 'ASC',
);
// Fetch the posts
$locations = new WP_Query($args);?>
have_posts()):
while ($locations->have_posts()):
$locations->the_post();
$name = get_the_title();
$img = get_field('location_image');
$address_line_1 = get_field('address_line_1');
$address_line_2 = get_field('address_line_2');
$address_line_3 = get_field('address_line_3');
$link = get_field('individual_location_page');
$phone = get_field('phone');
$fax = get_field('fax');
$hours = get_field('hours');
$category = get_field('category');
$category_value = $category['value'] ?? '';
?>
'; } ?>
'.$address_line_2.'
'; } ?>
'.$address_line_3.'
'; } ?>




