'; $single_top = get_post_custom_values("colabs_single_top"); if (($single_top[0]!='')||($single_top[0]=='none')){ if ($single_top[0]=='single_video'){ $embed = colabs_get_embed('colabs_embed','626','200','single_video',$post->ID); if ($embed!=''){ echo $embed; } }elseif($single_top[0]=='single_image'){ $check_image = colabs_image('link=url&return=true'); echo colabs_image('width=222&link=img&return=true').'
'.get_post_field('post_content', get_post_thumbnail_id()).'
'; } }else{ $check_image = colabs_image('link=url&return=true'); echo colabs_image('width=222&link=img&return=true').'
'.get_post_field('post_content', get_post_thumbnail_id()).'
'; } echo '

'.get_the_title().'

'.get_like(get_the_ID()).' Loves

'.get_the_term_list(get_the_ID(), 'photograph-categories', '', ', ','').get_the_term_list(get_the_ID(), 'post_tag', '', ', ','').'

'; $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++; //if ($count <= $offset) continue; $url = wp_get_attachment_image_src($att_id, 'full', true); if($check_image!=$url[0]) echo ' '.colabs_image('width=626&link=img&return=true&src='.$url[0]).'
'.$attachment->post_content.'
'; } endif; ?>