if(get_field('dodatkowe_foto')) { ?>
} else { ?>
} ?>
while (have_posts() ) : the_post(); $pthumb = get_the_post_thumbnail();?>
the_content(); ?>
endwhile; wp_reset_postdata(); ?>
if(get_field('lista')) { ?>
while( have_rows('lista') ): the_row(); ?>
if(get_sub_field('tytul')) { ?>
the_sub_field('tytul') ?>
} ?>
the_sub_field('opis') ?>
endwhile; ?>
} ?>
if(get_field('opis_dodatkowy')) { ?>
the_field('opis_dodatkowy') ?>
} ?>