$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 ) && !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() ) && true == $raindrops_format ) {
?>
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' ), '', '' );
?>