>
$post->ID, 'post_type' => 'attachment', 'post_mime_type' => 'image', 'orderby' => 'menu_order', 'order' => 'ASC', 'numberposts' => 999 ) );
if ( $behold_images ) :
$total_images = count( $behold_images );
$behold_image = array_shift( $behold_images );
$behold_image_img_tag = wp_get_attachment_image( $behold_image->ID, 'thumbnail' );
?>
%2$s photo.', 'This gallery contains %2$s photos.', $total_images, 'Behold' ),
'href="' . esc_url( get_permalink() ) . '" title="' . sprintf( esc_attr__( 'Permalink to %s', 'Behold' ), the_title_attribute( 'echo=0' ) ) . '" rel="bookmark"',
number_format_i18n( $total_images )
); ?>
'
' . __( 'Pages:', 'Behold' ) . '', 'after' => '
' ) );
?>