ID, 'full' ); if( $image ) { echo $image; } ?> Caption: ' . $thumb_img->post_excerpt .'

'; echo '

Description: ' . $thumb_img->post_content .'

'; } ?> ID ); if( $metadata ) { $metadata_width = $metadata['width']; $metadata_height = $metadata['height']; $image_meta = $metadata['image_meta']; echo '

Dimensions: '. $metadata_width .' x '. $metadata_height .'

'; // image metadata foreach ($image_meta as $key => $value) { echo $key. ': '. $value .'
'; } } ?>
$pdf, 'post_type' => $post_type, 'post_status' => 'publish' ); $the_query = new WP_Query( apply_filters( 'dkpdf_query_args', $args ) ); if ( $the_query->have_posts() ) { while ( $the_query->have_posts() ) { $the_query->the_post(); global $post; ?>