Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $images = get_post_meta($post->ID, 'ecpt_repeatable', true);
- if($images) :
- foreach($images as $image) :
- echo '<a href="' . $image . '" rel="lightbox"><img src="paht/to/timthumb/timthumb.php?src=' . $image . '&h=100&w=200&zc=1" class="project-image"/></a>';
- endforeach;
- endif;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement