START HERE

Pods: Retrieve Image field and display it in WordPress Loop

Avatar for Giovanni De Carlo Giovanni De Carlo 0 comment
<?php 

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

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

?>
Avatar for Giovanni De Carlo

Giovanni De Carlo

See all posts »
Comments

Leave a Reply

Your email address will not be published. Required fields are marked *