Changeset 25521 for trunk/src/wp-content/themes/twentytwelve/content.php
- Timestamp:
- 09/20/2013 07:23:22 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentytwelve/content.php
r24131 r25521 1 1 <?php 2 2 /** 3 * The default template for displaying content. Used for both single and index/archive/search. 3 * The default template for displaying content 4 * 5 * Used for both single and index/archive/search. 4 6 * 5 7 * @package WordPress … … 48 50 <div class="author-info"> 49 51 <div class="author-avatar"> 50 <?php echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'twentytwelve_author_bio_avatar_size', 68 ) ); ?> 52 <?php 53 /** 54 * Filter the author bio avatar size. 55 * 56 * @since Twenty Twelve 1.0 57 * 58 * @param int $size The height and width of the avatar in pixels. 59 */ 60 $author_bio_avatar_size = apply_filters( 'twentytwelve_author_bio_avatar_size', 68 ); 61 echo get_avatar( get_the_author_meta( 'user_email' ), $author_bio_avatar_size ); 62 ?> 51 63 </div><!-- .author-avatar --> 52 64 <div class="author-description">
Note: See TracChangeset
for help on using the changeset viewer.