echo is_archive() ? post_type_archive_title() : the_title() ?>
if (have_rows('location')) :
while ( have_rows('location') ) : the_row(); ?>
$phone = get_field('phone', 'options');
$email = get_field('email', 'options');
if (get_sub_field('phone')) :
$phone = get_sub_field('phone');
endif;
if (get_sub_field('email')) :
$email = get_sub_field('email');
endif;
?>
if (get_field('lead_in')) : ?>
endif ?>
endwhile; endif; ?>
Call us
Email us
if (get_field('lead_in')) : ?>
the_field('lead_in')?>
// insert Zoho form instead of CF7 form
// echo do_shortcode('[contact-form-7 id="72" title="Request Quote"]');
echo do_shortcode('[zoho-enquiry-form]');
?>
the_content() ?>
// check if the flexible content field has rows of data
if( have_rows('page_builder') ):
// loop through the rows of data
while ( have_rows('page_builder') ) : the_row(); ?>
get_footer();
get_template_part( 'partials/blocks/'.get_row_layout() );?>
/*
switch (get_row_layout()) {
case "wysiwyg":
get_template_part('partials/blocks/wysiwyg');
break;
case "icon_list":
get_template_part('partials/blocks/icon_list');
break;
case "dynamic_content":
get_template_part('partials/blocks/dynamic_content');
break;
case "downloads":
get_template_part('partials/blocks/downloads');
break;
case "video":
get_template_part('partials/blocks/video');
break;
case "image":
get_template_part('partials/blocks/image');
break;
case "table":
get_template_part('partials/blocks/table');
break;
}
*/
endwhile;
endif;
?>