daily pastebin goal
0%
SHARE
TWEET

Untitled

a guest Feb 11th, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php $images =& get_children( 'post_type=attachment&post_mime_type=image&post_parent=' . $post->ID );
  2. foreach( $images as $imageID => $imagePost )
  3. echo wp_get_attachment_link($imageID, 'thumbnail', false); ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top