Changeset 47122 for trunk/src/wp-content/themes/twentytwelve/content.php
- Timestamp:
- 01/29/2020 12:43:23 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentytwelve/content.php
r45932 r47122 38 38 </header><!-- .entry-header --> 39 39 40 <?php if ( is_search() ) : // Only display Excerpts for Search?>40 <?php if ( is_search() ) : // Only display excerpts for search. ?> 41 41 <div class="entry-summary"> 42 42 <?php the_excerpt(); ?> … … 59 59 <?php twentytwelve_entry_meta(); ?> 60 60 <?php edit_post_link( __( 'Edit', 'twentytwelve' ), '<span class="edit-link">', '</span>' ); ?> 61 <?php if ( is_singular() && get_the_author_meta( 'description' ) && is_multi_author() ) : // If a user has filled out their description and this is a multi-author blog, show a bio on their entries. ?> 61 <?php 62 // If a user has filled out their description and this is a multi-author blog, show a bio on their entries. 63 if ( is_singular() && get_the_author_meta( 'description' ) && is_multi_author() ) : 64 ?> 62 65 <div class="author-info"> 63 66 <div class="author-avatar"> … … 78 81 <div class="author-link"> 79 82 <a href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>" rel="author"> 80 81 82 83 83 <?php 84 /* translators: %s: Author display name. */ 85 printf( __( 'View all posts by %s <span class="meta-nav">→</span>', 'twentytwelve' ), get_the_author() ); 86 ?> 84 87 </a> 85 88 </div><!-- .author-link -->
Note: See TracChangeset
for help on using the changeset viewer.