It's on this page: http://www.demo.segermo.com/anlaggning/referenser-test/
Right now it's showing multiple post-thumbnails that are linked to open up a shadowbox gallery. But i only want to show one thumbnail, but still have the foreach loop run through all the attached images from the get_multi_images_src function..
See the loop i've got so far. How can i solve this problem? I know I have to get the post_thumbnail out of the loop, but i can't get it to work..
<?php global $shadowlink; ?>
<?php foreach(get_multi_images_src( 'thumbnail', 'large' ) as $k => $u){
$shadowlink = $u[1][0];
echo '<a rel="shadowbox[gallery1]" href="' . $shadowlink . '">';
the_post_thumbnail('insta-size', array( 'class' => "zoomer-class attachment-post-thumbnail"));
echo '</a>';
} ?>