Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <a rel="nofollow" href="" class="fancybox" title="" rel="gallery">
- <?php get_the_ID(),
- 'post_type' => 'attachment',
- 'post_mime_type' => 'image'
- ));
- foreach ( $attachments as $attachment_id => $attachment ) {
- echo '<a rel="nofollow" href="';
- echo '' . wp_get_attachment_url( $attachment_id ) . '" title="" rel="gallery">';
- echo '';
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement