diff -r 2f6f6f7551ca -r 32102edaa81b web/wp-content/themes/twentyeleven/content-gallery.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/wp-content/themes/twentyeleven/content-gallery.php Mon Nov 19 18:26:13 2012 +0100 @@ -0,0 +1,92 @@ + + +
> +
+
+

+

+
+ + +
+ + +
+ +
+ +
+ + →', 'twentyeleven' ) ); ?> + + + $post->ID, 'post_type' => 'attachment', 'post_mime_type' => 'image', 'orderby' => 'menu_order', 'order' => 'ASC', 'numberposts' => 999 ) ); + if ( $images ) : + $total_images = count( $images ); + $image = array_shift( $images ); + $image_img_tag = wp_get_attachment_image( $image->ID, 'thumbnail' ); + ?> + + + +

%2$s photo.', 'This gallery contains %2$s photos.', $total_images, 'twentyeleven' ), + 'href="' . esc_url( get_permalink() ) . '" title="' . sprintf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ) . '" rel="bookmark"', + number_format_i18n( $total_images ) + ); ?>

+ + + + '' ) ); ?> +
+ + + +