Skip to content

Pods: Retrieve Image field and display it in WordPress Loop

<?php 

$gallery_images = get_post_meta( $post->ID, 'gallery_images' );

foreach ( $gallery_images as $image ) {
    echo pods_image( $image, 'medium' );
}

?>