Changeset 14544
- Timestamp:
- 05/10/2010 08:30:58 PM (15 years ago)
- Location:
- trunk/wp-content/themes/twentyten
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentyten/archive.php
r13885 r14544 21 21 <?php the_post(); ?> 22 22 23 <h1 class="page-title"> 23 24 <?php if ( is_day() ) : ?> 24 < h1 class="page-title"><?php printf( __( 'Daily Archives: <span>%s</span>', 'twentyten' ), get_the_date() ); ?></h1>25 <?php printf( __( 'Daily Archives: <span>%s</span>', 'twentyten' ), get_the_date() ); ?> 25 26 <?php elseif ( is_month() ) : ?> 26 < h1 class="page-title"><?php printf( __( 'Monthly Archives: <span>%s</span>', 'twentyten' ), get_the_date('F Y') ); ?></h1>27 <?php printf( __( 'Monthly Archives: <span>%s</span>', 'twentyten' ), get_the_date('F Y') ); ?> 27 28 <?php elseif ( is_year() ) : ?> 28 < h1 class="page-title"><?php printf( __( 'Yearly Archives: <span>%s</span>', 'twentyten' ), get_the_date('Y') ); ?></h1>29 <?php printf( __( 'Yearly Archives: <span>%s</span>', 'twentyten' ), get_the_date('Y') ); ?> 29 30 <?php else : ?> 30 < h1 class="page-title"><?php _e( 'Blog Archives', 'twentyten' ); ?></h1>31 <?php _e( 'Blog Archives', 'twentyten' ); ?> 31 32 <?php endif; ?> 32 33 </h1> 33 34 <?php rewind_posts(); ?> 34 35 <?php -
trunk/wp-content/themes/twentyten/category.php
r13885 r14544 17 17 printf( __( 'Category Archives: %s', 'twentyten' ), '<span>' . single_cat_title( '', false ) . '</span>' ); 18 18 ?></h1> 19 <?php $categorydesc = category_description(); if ( ! empty( $categorydesc ) ) echo apply_filters( 'archive_meta', '<div class="archive-meta">' . $categorydesc . '</div>' ); ?> 19 <?php 20 $categorydesc = category_description(); 21 if ( ! empty( $categorydesc ) ) { 22 echo apply_filters( 'archive_meta', '<div class="archive-meta">' . $categorydesc . '</div>' ); 23 } 24 ?> 20 25 21 26 <?php -
trunk/wp-content/themes/twentyten/header.php
r14535 r14544 15 15 <head> 16 16 <meta charset="<?php bloginfo( 'charset' ); ?>" /> 17 <title> <?php18 // Returns the title based on the type of page being viewed17 <title> 18 <?php 19 19 if ( is_single() ) { 20 20 single_post_title(); echo ' | '; bloginfo( 'name' ); … … 27 27 single_post_title( '' ); echo ' | '; bloginfo( 'name' ); 28 28 } elseif ( is_search() ) { 29 printf( __( 'Search results for "%s"', 'twentyten' ), get_search_query()); twentyten_the_page_number(); echo ' | '; bloginfo( 'name' );29 printf( __( 'Search results for %s', 'twentyten' ), '"'.get_search_query().'"' ); twentyten_the_page_number(); echo ' | '; bloginfo( 'name' ); 30 30 } elseif ( is_404() ) { 31 31 _e( 'Not Found', 'twentyten' ); echo ' | '; bloginfo( 'name' ); … … 33 33 wp_title( '' ); echo ' | '; bloginfo( 'name' ); twentyten_the_page_number(); 34 34 } 35 ?></title> 35 ?> 36 </title> 36 37 <link rel="profile" href="http://gmpg.org/xfn/11" /> 37 38 <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" /> -
trunk/wp-content/themes/twentyten/single.php
r14541 r14544 39 39 </div><!-- #author-avatar --> 40 40 <div id="author-description"> 41 <h2><?php _e( 'About ', 'twentyten' ); ?><?php the_author(); ?></h2>41 <h2><?php printf( esc_attr__( 'About %s', 'twentyten' ), get_the_author() ); ?></h2> 42 42 <?php the_author_meta( 'description' ); ?> 43 43 <div id="author-link"> 44 <a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?>" title="<?php printf( esc_attr__( 'View all posts by %s', 'twentyten' ), get_the_author() ); ?>"><?php _e( 'View all posts by ', 'twentyten' ); ?><?php the_author(); ?> →</a> 44 <a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?>"> 45 <?php printf( __( 'View all posts by %s →', 'twentyten' ), get_the_author() ); ?> 46 </a> 45 47 </div><!-- #author-link --> 46 48 </div><!-- #author-description --> -
trunk/wp-content/themes/twentyten/tag.php
r13885 r14544 16 16 <?php the_post(); ?> 17 17 18 <h1 class="page-title"> <?php19 printf( __( 'Tag Archives: %s', 'twentyten' ), '<span>' . single_tag_title( '', false ) . '</span>' );20 ?></h1>18 <h1 class="page-title"> 19 <?php printf( __( 'Tag Archives: %s', 'twentyten' ), '<span>' . single_tag_title( '', false ) . '</span>' ); ?> 20 </h1> 21 21 22 22 <?php rewind_posts(); ?>
Note: See TracChangeset
for help on using the changeset viewer.