// "Hero" section
if (have_rows('hero_banner')) {
while (have_rows('hero_banner')) {
the_row();
$hero_text = get_sub_field('body_text');
$hero_cta_label = get_sub_field('cta_label');
$hero_cta_url = get_sub_field('cta_url;');
?>
};
};
// Second Banner
if (have_rows('second_banner')) {
while (have_rows('second_banner')) {
the_row();
$header = get_sub_field('header');
$subheader = get_sub_field('subheader');
$section_img = get_sub_field('section_image');
$overlay_icon = get_sub_field('overlay_icon');
$overlay_text = get_sub_field('overlay_text');
?>
echo $overlay_text; ?>
};
};
// Third Banner
if (have_rows('third_banner')) {
while (have_rows('third_banner')) {
the_row();
$header = get_sub_field('header');
$subheader = get_sub_field('subheader');
if (have_rows('step_1')) {
while (have_rows('step_1')) {
the_row();
$step_1_header = get_sub_field('step_header');
$step_1_body = get_sub_field('step_body');
}
}
if (have_rows('step_2')) {
while (have_rows('step_2')) {
the_row();
$step_2_header = get_sub_field('step_header');
$step_2_body = get_sub_field('step_body');
}
}
if (have_rows('step_3')) {
while (have_rows('step_3')) {
the_row();
$step_3_header = get_sub_field('step_header');
$step_3_body = get_sub_field('step_body');
}
}
?>
$step_number = 1;
if (have_rows('step_1')) {
while (have_rows('step_1')) {
the_row();
$step_1_header = get_sub_field('step_header');
$step_1_body = get_sub_field('step_body');
$step_1_img = get_sub_field('step_image');
?>
}
}
if (have_rows('step_2')) {
while (have_rows('step_2')) {
the_row();
$step_2_header = get_sub_field('step_header');
$step_2_body = get_sub_field('step_body');
$step_2_img = get_sub_field('step_image');
?>
}
}
if (have_rows('step_3')) {
while (have_rows('step_3')) {
the_row();
$step_3_header = get_sub_field('step_header');
$step_3_body = get_sub_field('step_body');
$step_3_img = get_sub_field('step_image');
?>
}
}
?>
};
};
// Fourth Banner
if (have_rows('fourth_banner')) {
while (have_rows('fourth_banner')) {
the_row();
$header = get_sub_field('header');
$subheader = get_sub_field('subheader');
$top_text = get_sub_field('top_section_text');
$top_video = get_sub_field('top_section_video');
$bottom_text = get_sub_field('bottom_section_text');
$bottom_img = get_sub_field('bottom_section_image');
?>
};
};
?>
// Full Page Background Image
$full_page_bg_img = get_field('full_bg_img');
if ($full_page_bg_img) { ?>