Changeset 13025 for trunk/wp-content/themes/twentyten/author.php
- Timestamp:
- 02/08/2010 06:02:23 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-content/themes/twentyten/author.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentyten/author.php
r13012 r13025 1 1 <?php get_header(); ?> 2 3 <div id="container"> 2 3 <div id="container"> 4 4 <div id="content"> 5 6 <?php the_post(); ?> 7 5 6 <?php the_post(); ?> 7 8 8 <h1 class="page-title author"><?php printf( __( 'Author Archives: <span class="vcard">%s</span>', 'twentyten' ), "<a class='url fn n' href='$authordata->user_url' title='$authordata->display_name' rel='me'>$authordata->display_name</a>" ) ?></h1> 9 9 10 <?php if ( get_the_author_meta('description') ) : // If a user has filled out their decscription show a bio on their entries ?> 10 <?php if ( get_the_author_meta('description') ) : // If a user has filled out their decscription show a bio on their entries ?> 11 11 <div id="entry-author-info"> 12 12 <div id="author-avatar"> 13 13 <?php echo get_avatar( get_the_author_meta('user_email'), apply_filters('twentyten_author_bio_avatar_size', 60) ); ?> 14 </div><!-- #author-avatar --> 14 </div><!-- #author-avatar --> 15 15 <div id="author-description"> 16 <h2><?php _e('About ', 'twentyten'); ?><?php the_author(); ?></h2> 16 <h2><?php _e('About ', 'twentyten'); ?><?php the_author(); ?></h2> 17 17 <?php the_author_meta('description'); ?> 18 18 </div><!-- #author-description --> … … 21 21 22 22 <?php rewind_posts(); ?> 23 23 24 24 <?php global $wp_query; $total_pages = $wp_query->max_num_pages; if ( $total_pages > 1 ) { ?> 25 25 <div id="nav-above" class="navigation"> … … 27 27 <div class="nav-next"><?php previous_posts_link(__( 'Newer posts <span class="meta-nav">→</span>', 'twentyten' )) ?></div> 28 28 </div><!-- #nav-above --> 29 <?php } ?> 29 <?php } ?> 30 30 31 31 <?php while ( have_posts() ) : the_post(); ?> … … 39 39 the_permalink(); ?>" title="<?php the_time('Y-m-d\TH:i:sO') ?>" rel="bookmark"><span class="entry-date"><?php the_time( get_option( 'date_format' ) ); ?></span></a> 40 40 </div><!-- .entry-meta --> 41 42 <div class="entry-summary"> 41 42 <div class="entry-summary"> 43 43 <?php the_excerpt( __( 'Continue reading <span class="meta-nav">→</span>', 'twentyten' ) ); ?> 44 44 </div><!-- .entry-summary --> … … 50 50 <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ) ?></span> 51 51 <?php edit_post_link( __( 'Edit', 'twentyten' ), "<span class=\"meta-sep\">|</span>\n\t\t\t\t\t\t<span class=\"edit-link\">", "</span>\n\t\t\t\t\t\n" ) ?> 52 </div><!-- #entry-utility --> 52 </div><!-- #entry-utility --> 53 53 </div><!-- #post-<?php the_ID(); ?> --> 54 54 55 <?php endwhile; ?> 55 <?php endwhile; ?> 56 56 57 57 <?php global $wp_query; $total_pages = $wp_query->max_num_pages; if ( $total_pages > 1 ) { ?> … … 60 60 <div class="nav-next"><?php previous_posts_link(__( 'Newer posts <span class="meta-nav">→</span>', 'twentyten' )) ?></div> 61 61 </div><!-- #nav-below --> 62 <?php } ?> 63 64 </div><!-- #content --> 62 <?php } ?> 63 64 </div><!-- #content --> 65 65 </div><!-- #container --> 66 67 <?php get_sidebar(); ?> 66 67 <?php get_sidebar(); ?> 68 68 <?php get_footer(); ?>
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)