X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/58f607a1de715c9bca69340a4d6fb9e1b9c2bed2..41497a896330304904ef6d5783c724ea713739f6:/wp-content/themes/twentyten/loop.php diff --git a/wp-content/themes/twentyten/loop.php b/wp-content/themes/twentyten/loop.php index c0d746f3..3e22fe24 100644 --- a/wp-content/themes/twentyten/loop.php +++ b/wp-content/themes/twentyten/loop.php @@ -2,7 +2,7 @@ /** * The loop that displays posts. * - * The loop displays the posts and the post content. See + * The loop displays the posts and the post content. See * http://codex.wordpress.org/The_Loop to understand it and * http://codex.wordpress.org/Template_Tags to understand * the tags used in it. @@ -55,9 +55,9 @@ */ ?> - + - + ID ) ) || in_category( _x( 'gallery', 'gallery category slug', 'twentyten' ) ) ) : ?>
>

@@ -68,8 +68,8 @@
- - + $post->ID, 'post_type' => 'attachment', 'post_mime_type' => 'image', 'orderby' => 'menu_order', 'order' => 'ASC', 'numberposts' => 999 ) ); if ( $images ) : $total_images = count( $images ); @@ -79,9 +79,9 @@ -

%2$s photos.', 'twentyten' ), +

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

@@ -89,16 +89,21 @@
- + ID ) ) : ?> + + | + + | + | ', '' ); ?>
- + - + ID ) ) || in_category( _x( 'asides', 'asides category slug', 'twentyten' ) ) ) : ?>
>