After getting my images through a metabox for a gallery post format I have the following code to show them on the post front end:
<?php
if ( !empty( $images ) ) {
foreach ( $images as $image ) {
echo
'<li class="animated fadeIn">',
'<figure>',
wp_get_attachment_image( $image, 'post-full-width' ),
'</figure>',
'</li>';
}
}
?>
I am just wondering now how to show the images captions on the front end along with the images also.