<?php get_header(); ?> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <h1><?php the_title(); ?> project</h1> <?php $images = get_field('images'); foreach ($images as $image) { ?> <h3><?php echo $image['title']; ?></h3> <img src="<?php echo $image['image']; ?>" alt=""> <?php } ?> <?php endwhile; endif; ?> <?php get_footer(); ?>