WordPress.org

Make WordPress Core

Changeset 14350


Ignore:
Timestamp:
05/02/10 23:32:59 (4 years ago)
Author:
ryan
Message:

Mark Asides and Gallery category slugs for translation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentyten/loop.php

    r14084 r14350  
    3737 
    3838<?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') ) ) : ?> 
    4040        <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>> 
    4141            <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> 
     
    8484 
    8585<?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') ) ) : ?> 
    8787        <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>> 
    8888    <?php if ( is_archive() || is_search() ) : //Only display Excerpts for archives & search ?> 
Note: See TracChangeset for help on using the changeset viewer.