SHARE
TWEET

Untitled

a guest Oct 23rd, 2016 4 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <a rel="nofollow" href="" class="fancybox" title="" rel="gallery">
  2.  
  3. <?php get_the_ID(),
  4.         'post_type' => 'attachment',
  5.         'post_mime_type' => 'image'
  6.     ));
  7.    
  8.     foreach ( $attachments as $attachment_id => $attachment ) {
  9.         echo '<a rel="nofollow" href="';
  10.         echo '' . wp_get_attachment_url( $attachment_id ) . '" title="" rel="gallery">';
  11.         echo '';
  12.     }
  13. ?>
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