'.$embed.'
';
}
}elseif($single_top[0]=='single_image'){
$content .= '
'.colabs_image('width=626&link=img&return=true').'
';
$check_src = colabs_image('link=url&return=true');
}
}
$attachments = get_children( array(
'post_parent' => get_the_ID(),
'numberposts' => 100,
'post_type' => 'attachment',
'post_mime_type' => 'image' )
);
if ( !empty($attachments) ) :
$count = 0;
foreach ( $attachments as $att_id => $attachment ) {
$count++;
$url = wp_get_attachment_image_src($att_id, 'full', true);
if($check_src!=$url[0])
$content .= '
'.colabs_image('width=626&link=img&return=true&src='.$url[0]).'
';
}
endif;
if($content!=''):
?>