Changeset 25627 for trunk/src/wp-content/themes/twentyten/author.php
- Timestamp:
- 09/25/2013 05:03:34 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyten/author.php
r15226 r25627 1 1 <?php 2 2 /** 3 * T he template for displaying Author Archive pages.3 * Template for displaying Author Archive pages 4 4 * 5 5 * @package WordPress … … 14 14 15 15 <?php 16 /* Queue the first post, that way we know who 16 /** 17 * Queue the first post, that way we know who 17 18 * the author is when we try to get their name, 18 19 * URL, description, avatar, etc. … … 32 33 <div id="entry-author-info"> 33 34 <div id="author-avatar"> 34 <?php echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'twentyten_author_bio_avatar_size', 60 ) ); ?> 35 <?php 36 /** 37 * Filter the Twenty Ten author bio avatar size. 38 * 39 * @since Twenty Ten 1.0 40 * 41 * @param int The height and width avatar dimensions in pixels. Default 60. 42 */ 43 echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'twentyten_author_bio_avatar_size', 60 ) ); 44 ?> 35 45 </div><!-- #author-avatar --> 36 46 <div id="author-description"> … … 42 52 43 53 <?php 44 /* Since we called the_post() above, we need to 54 /** 55 * Since we called the_post() above, we need to 45 56 * rewind the loop back to the beginning that way 46 57 * we can run the loop properly, in full. … … 48 59 rewind_posts(); 49 60 50 /* Run the loop for the author archive page to output the authors posts 61 /** 62 * Run the loop for the author archive page to output the authors posts 51 63 * If you want to overload this in a child theme then include a file 52 64 * called loop-author.php and that will be used instead.
Note: See TracChangeset
for help on using the changeset viewer.