Changeset 43571 for trunk/src/wp-content/themes/twentyten/loop.php
- Timestamp:
- 08/17/2018 01:50:26 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyten/loop.php
r42343 r43571 59 59 while ( have_posts() ) : 60 60 the_post(); 61 ?>61 ?> 62 62 63 <?php /* How to display posts of the Gallery format. The gallery category is the old way. */ ?>63 <?php /* How to display posts of the Gallery format. The gallery category is the old way. */ ?> 64 64 65 65 <?php if ( ( function_exists( 'get_post_format' ) && 'gallery' == get_post_format( $post->ID ) ) || in_category( _x( 'gallery', 'gallery category slug', 'twentyten' ) ) ) : ?> … … 72 72 73 73 <div class="entry-content"> 74 <?php if ( post_password_required() ) : ?>74 <?php if ( post_password_required() ) : ?> 75 75 <?php the_content(); ?> 76 76 <?php else : ?> … … 80 80 $total_images = count( $images ); 81 81 $image = reset( $images ); 82 ?>82 ?> 83 83 <div class="gallery-thumb"> 84 84 <a class="size-thumbnail" href="<?php the_permalink(); ?>"><?php echo wp_get_attachment_image( $image, 'thumbnail' ); ?></a> … … 91 91 number_format_i18n( $total_images ) 92 92 ); 93 93 ?> 94 94 </em></p> 95 95 <?php endif; // end twentyten_get_gallery_images() check ?> … … 111 111 </div><!-- #post-## --> 112 112 113 <?php /* How to display posts of the Aside format. The asides category is the old way. */ ?>113 <?php /* How to display posts of the Aside format. The asides category is the old way. */ ?> 114 114 115 115 <?php elseif ( ( function_exists( 'get_post_format' ) && 'aside' == get_post_format( $post->ID ) ) || in_category( _x( 'asides', 'asides category slug', 'twentyten' ) ) ) : ?> … … 134 134 </div><!-- #post-## --> 135 135 136 <?php /* How to display all other posts. */ ?>136 <?php /* How to display all other posts. */ ?> 137 137 138 138 <?php else : ?> … … 158 158 ) 159 159 ); 160 ?>160 ?> 161 161 </div><!-- .entry-content --> 162 162 <?php endif; ?> … … 172 172 $tags_list = get_the_tag_list( '', ', ' ); 173 173 if ( $tags_list ) : 174 ?>174 ?> 175 175 <span class="tag-links"> 176 176 <?php printf( __( '<span class="%1$s">Tagged</span> %2$s', 'twentyten' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list ); ?>
Note: See TracChangeset
for help on using the changeset viewer.