echo '<div class="smaller">';
$i = 0;
foreach ( $attachments as $attachment ) {
if ( $i == VA_MAX_IMAGES - 1 ) {
break;
}
if ( $attachment->ID == $featured_id ) {
continue;
}
echo va_get_attachment_link( $attachment->ID );
$i++;
}
echo '</div>';
There are currently 1 users browsing this thread. (0 members and 1 guests)