Advertisement
Guest User

Untitled

a guest
Sep 11th, 2015
85
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None
  1. <?php if( class_exists('Dynamic_Featured_Image') ):
  2. global $dynamic_featured_image;
  3. global $post;
  4. $featured_images = $dynamic_featured_image->get_featured_images( $post->ID );
  5.  
  6. if ( $featured_images ): ?>
  7. <?php foreach( $featured_images as $images ): ?>
  8. <img src="<?php echo $images['full'] ?>" alt="">
  9. <?php endforeach; ?>
  10. <?php
  11. endif;
  12. endif; ?>
Advertisement
RAW Paste Data Copied
Advertisement