Changeset 16197 for trunk/wp-content/themes/twentyten/loop.php
- Timestamp:
- 11/05/2010 02:25:41 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentyten/loop.php
r15392 r16197 58 58 <?php /* How to display posts in the Gallery category. */ ?> 59 59 60 <?php if ( in_category( _x('gallery', 'gallery category slug', 'twentyten') ) ) : ?>60 <?php if ( in_category( _x('gallery', 'gallery category slug', 'twentyten') ) || 'gallery' == get_post_format( $post->ID ) ) : ?> 61 61 <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>> 62 62 <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyten' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2> … … 99 99 <?php /* How to display posts in the asides category */ ?> 100 100 101 <?php elseif ( in_category( _x('asides', 'asides category slug', 'twentyten') ) ) : ?>101 <?php elseif ( in_category( _x('asides', 'asides category slug', 'twentyten') ) || 'aside' == get_post_format( $post->ID ) ) : ?> 102 102 <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>> 103 103
Note: See TracChangeset
for help on using the changeset viewer.