Changeset 13720 for trunk/wp-content/themes/twentyten/author.php
- Timestamp:
- 03/16/2010 08:17:22 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentyten/author.php
r13147 r13720 6 6 <?php the_post(); ?> 7 7 8 <h1 class="page-title author"><?php printf( __( 'Author Archives: <span class="vcard">%s</span>', 'twentyten' ), "<a class='url fn n' href='" . get_author_posts_url( get_the_author_meta( 'ID') ) . "' title='" . esc_attr(get_the_author()) . "' rel='me'>" . get_the_author() . "</a>" ); ?></h1>8 <h1 class="page-title author"><?php printf( __( 'Author Archives: <span class="vcard">%s</span>', 'twentyten' ), "<a class='url fn n' href='" . get_author_posts_url( get_the_author_meta( 'ID' ) ) . "' title='" . esc_attr( get_the_author() ) . "' rel='me'>" . get_the_author() . "</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 <?php echo get_avatar( get_the_author_meta( 'user_email'), apply_filters('twentyten_author_bio_avatar_size', 60) ); ?>13 <?php echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'twentyten_author_bio_avatar_size', 60 ) ); ?> 14 14 </div><!-- #author-avatar --> 15 15 <div id="author-description"> 16 <h2><?php printf( __('About %s', 'twentyten'), get_the_author()); ?></h2>17 <?php the_author_meta( 'description'); ?>16 <h2><?php printf( __( 'About %s', 'twentyten' ), get_the_author() ); ?></h2> 17 <?php the_author_meta( 'description' ); ?> 18 18 </div><!-- #author-description --> 19 19 </div><!-- .entry-author-info -->
Note: See TracChangeset
for help on using the changeset viewer.