while (have_rows('homepage_banner_slides')):the_row() ?>
-
$hero_banner_desktop = get_sub_field('homepage_banner_desktop'); ?>
$hero_banner_mobile = get_sub_field('homepage_banner_mobile'); ?>
$hero_banner_title = get_sub_field('homepage_banner_title'); ?>
$hero_banner_text = get_sub_field('homepage_banner_text'); ?>
echo wp_get_attachment_image($hero_banner_desktop['id'], 'full'); ?>
echo $hero_banner_title ?>
echo $hero_banner_text ?>
endwhile; ?>
if (get_field('homepage_link_url')): ?>
endif ?>
$homerealisations = get_field('homepage_realisations'); ?>
foreach ($homerealisations as $realisation):
$id = $realisation->ID;
$image = get_field('realisation_image_horizontal', $id);
$title = get_the_title($id);
$date = get_field('realisation_date', $id);
$text = get_field('realisation_description', $id);
$location = get_field('realisation_location', $id);
$gallery = get_field('realisation_gallery', $id);
?>
if ($gallery): ?>
echo wp_get_attachment_image($image['id'], 'full'); ?>
echo $location ?>
echo $date ?>
echo $title ?>
zobacz więcej
foreach ($gallery as $galleryimage): ?>
endforeach; ?>
else: ?>
echo wp_get_attachment_image($image['id'], 'full'); ?>
echo $location ?>
echo $date ?>
echo $title ?>
endif ?>
endforeach ?>
if (get_field('homepage_realisations_button_link')): ?>
the_field('homepage_realisations_button_text') ?>
endif ?>
while (have_rows('quotes')):the_row() ?>
-
$quotes_image = get_sub_field('quotes_image'); ?>
echo wp_get_attachment_image($quotes_image['id'], 'full'); ?>
the_sub_field('quotes_text') ?>
the_sub_field('quotes_sign_name') ?>
the_sub_field('quotes_sign_role') ?>
endwhile; ?>
the_field('clients_title', 'options') ?>
while (have_rows('clients_logos', 'options')):the_row() ?>
-
$clients_logo = get_sub_field('clients_logo'); ?>
echo wp_get_attachment_image($clients_logo['id'], 'full'); ?>
endwhile; ?>
the_field('homepage_text') ?>