Changeset 25625 for trunk/src/wp-content/themes/twentyeleven/author.php
- Timestamp:
- 09/25/2013 04:49:36 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyeleven/author.php
r19957 r25625 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 … … 16 16 17 17 <?php 18 /* Queue the first post, that way we know 19 * what author we're dealing with (if that is the case). 18 /** 19 * Queue the first post, that way we know what author 20 * we're dealing with (if that is the case). 20 21 * 21 * We reset this later so we can run the loop 22 * properlywith a call to rewind_posts().22 * We reset this later so we can run the loop properly 23 * with a call to rewind_posts(). 23 24 */ 24 25 the_post(); … … 30 31 31 32 <?php 32 /* Since we called the_post() above, we need to 33 /** 34 * Since we called the_post() above, we need to 33 35 * rewind the loop back to the beginning that way 34 36 * we can run the loop properly, in full. … … 44 46 <div id="author-info"> 45 47 <div id="author-avatar"> 46 <?php echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'twentyeleven_author_bio_avatar_size', 60 ) ); ?> 48 <?php 49 /** 50 * Filter the Twenty Eleven author bio avatar size. 51 * 52 * @since Twenty Eleven 1.0 53 * 54 * @param int The height and width avatar dimension in pixels. Default 60. 55 */ 56 echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'twentyeleven_author_bio_avatar_size', 60 ) ); 57 ?> 47 58 </div><!-- #author-avatar --> 48 59 <div id="author-description"> … … 57 68 58 69 <?php 59 /* Include the Post-Format-specific template for the content. 70 /** 71 * Include the Post-Format-specific template for the content. 60 72 * If you want to overload this in a child theme then include a file 61 73 * called content-___.php (where ___ is the Post Format name) and that will be used instead.
Note: See TracChangeset
for help on using the changeset viewer.