Changeset 14350
- Timestamp:
- 05/02/2010 11:32:59 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentyten/loop.php
r14084 r14350 37 37 38 38 <?php /* How to Display posts in the Gallery Category */ ?> 39 <?php if ( in_category( 'Gallery') ) : ?>39 <?php if ( in_category( _x('gallery', 'gallery category slug', 'twentyten') ) ) : ?> 40 40 <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>> 41 41 <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> … … 84 84 85 85 <?php /* How to display posts in the asides category */ ?> 86 <?php elseif ( in_category( 'asides') ) : ?>86 <?php elseif ( in_category( _x('asides', 'asides category slug', 'twentyten') ) ) : ?> 87 87 <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>> 88 88 <?php if ( is_archive() || is_search() ) : //Only display Excerpts for archives & search ?>
Note: See TracChangeset
for help on using the changeset viewer.