Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php $get_the_image_as_array = get_the_image( array( 'image_scan' => true, 'format' => 'array' ) ); ?>
- <?php if ($get_the_image_as_array[url]) { ?>
- <div class="thumbnail-wrap">
- <?php if ( function_exists( 'get_the_image' ) ) { ?>
- <img src="<?php echo $get_the_image_as_array[url]; ?>">
- <?php } ?>
- </div>
- <?php } ?>
Add Comment
Please, Sign In to add comment