→', 'rusty-grunge' ) ); ?>
$post->ID,
'fields' => 'ids',
'post_type' => 'attachment',
'post_mime_type' => 'image',
'orderby' => 'menu_order',
'order' => 'ASC',
'numberposts' => 999,
'suppress_filters' => false
) );
endif;
if ( $images ) :
$total_images = is_countable( $images ) ? count( $images ) : 0;
$image = array_shift( $images );
$image_img_tag = wp_get_attachment_image( $image, 'thumbnail' );
?>
%2$s photo.', 'This gallery contains %2$s photos.', $total_images, 'rusty-grunge' ),
'href="' . get_permalink() . '" title="' . esc_attr( sprintf( __( 'Permalink to %s', 'rusty-grunge' ), the_title_attribute( 'echo=0' ) ) ) . '" rel="bookmark"',
number_format_i18n( $total_images )
); ?>
'
' . __( 'Pages:', 'rusty-grunge' ), 'after' => '
' ) ); ?>