Changeset 13111 for trunk/wp-content/themes/twentyten/archive.php
- Timestamp:
- 02/13/2010 11:20:56 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentyten/archive.php
r13109 r13111 7 7 8 8 <?php if ( is_day() ) : ?> 9 <h1 class="page-title"><?php printf( __( 'Daily Archives: <span>%s</span>', 'twentyten' ), get_the_ time() ) ?></h1>9 <h1 class="page-title"><?php printf( __( 'Daily Archives: <span>%s</span>', 'twentyten' ), get_the_date() ) ?></h1> 10 10 <?php elseif ( is_month() ) : ?> 11 <h1 class="page-title"><?php printf( __( 'Monthly Archives: <span>%s</span>', 'twentyten' ), get_the_ time('F Y') ) ?></h1>11 <h1 class="page-title"><?php printf( __( 'Monthly Archives: <span>%s</span>', 'twentyten' ), get_the_date('F Y') ) ?></h1> 12 12 <?php elseif ( is_year() ) : ?> 13 <h1 class="page-title"><?php printf( __( 'Yearly Archives: <span>%s</span>', 'twentyten' ), get_the_ time('Y') ) ?></h1>13 <h1 class="page-title"><?php printf( __( 'Yearly Archives: <span>%s</span>', 'twentyten' ), get_the_date('Y') ) ?></h1> 14 14 <?php elseif ( isset($_GET['paged']) && !empty($_GET['paged']) ) : ?> 15 15 <h1 class="page-title"><?php _e( 'Blog Archives', 'twentyten' ) ?></h1> … … 33 33 <span class="meta-prep meta-prep-author"><?php _e('Posted on ', 'twentyten'); ?></span> 34 34 <a href="<?php 35 the_permalink(); ?>" title="<?php echo esc_attr( get_the_time('Y-m-d\TH:i:sO') ); ?>" rel="bookmark"><span class="entry-date"><?php the_time(); ?></span></a>35 the_permalink(); ?>" title="<?php echo esc_attr( get_the_time('Y-m-d\TH:i:sO') ); ?>" rel="bookmark"><span class="entry-date"><?php echo get_the_date(); ?></span></a> 36 36 <span class="meta-sep"> <?php _e('by ', 'twentyten'); ?> </span> 37 37 <span class="author vcard"><a class="url fn n" href="<?php echo get_author_posts_url( $authordata->ID, $authordata->user_nicename ); ?>" title="<?php printf( esc_attr__( 'View all posts by %s', 'twentyten' ), $authordata->display_name ); ?>"><?php the_author(); ?></a></span>
Note: See TracChangeset
for help on using the changeset viewer.