$post->ID,
'post_type' => 'attachment',
'post_mime_type' => 'image',
'orderby' => 'menu_order',
'order' => 'ASC',
'numberposts' => 999
);
$raindrops_images = get_children( $raindrops_attachment_args );
if( isset( $raindrops_images ) and !empty( $raindrops_images ) ){
$raindrops_format = true;
$total_images = count( $raindrops_images );
$raindrops_image_result = array_shift( $raindrops_images );
}else{
$raindrops_format = false;
$total_images = 0;
$raindrops_image_result = '';
}
if ( ! preg_match( '!\[gallery!', get_the_content( ) ) and $raindrops_format == true ){
?>
ID ,'thumbnail',true );
?>
&after=&next_or_number=number&pagelink=%' );
?>
ID , false,true ).' '.__( 'photograph etc.', 'Raindrops' );
?>
%3$s | ',
esc_url( $category_link ),
esc_attr__( 'View posts in the Gallery category', 'Raindrops' ),
' '. esc_html__( 'Gallery', 'Raindrops' ),
esc_html__( 'Link to Category', 'Raindrops' )
);
?>
ID ), '', '' );
raindrops_delete_post_link( esc_html__( 'Trash', 'Raindrops' ), '', '' );
?>