WordPress.org

Make WordPress Core

Ticket #24167: 24167.diff

File 24167.diff, 1.9 KB (added by obenland, 2 years ago)
  • wp-content/themes/twentythirteen/author-bio.php

     
    1313                <?php echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'twentythirteen_author_bio_avatar_size', 74 ) ); ?> 
    1414        </div><!-- .author-avatar --> 
    1515        <div class="author-description"> 
    16                 <h2><?php printf( __( 'About %s', 'twentythirteen' ), get_the_author() ); ?></h2> 
    17                 <p> 
     16                <h2 class="author-title"><?php printf( __( 'About %s', 'twentythirteen' ), get_the_author() ); ?></h2> 
     17                <p class="author-bio"> 
    1818                        <?php the_author_meta( 'description' ); ?> 
    1919                        <a class="author-link" href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>" rel="author"> 
    2020                                <?php printf( __( 'View all posts by %s <span class="meta-nav">&rarr;</span>', 'twentythirteen' ), get_the_author() ); ?> 
  • wp-content/themes/twentythirteen/style.css

     
    20992099        padding: 50px 0 0; 
    21002100} 
    21012101 
    2102 .author-avatar { 
     2102.author-avatar .avatar { 
    21032103        float: left; 
    21042104        margin: 0 30px 30px 0; 
    21052105} 
    21062106 
    21072107.single-format-status .author-description, 
    2108 .single-format-status .author-description h2, 
    2109 .single-format-quote .author-description, 
    2110 .single-format-quote .author-description h2 { 
     2108.single-format-quote .author-description { 
    21112109        color: #f7f5e7; 
    21122110} 
    21132111 
    2114 .single-format-audio .author-description a, 
    2115 .single-format-video .author-description a { 
    2116         color: #fbfaf3; 
    2117 } 
    2118  
    2119 .author-description h2 { 
     2112.author-description .author-title { 
    21202113        clear: none; 
    21212114        font: 300 italic 20px "Source Sans Pro", Helvetica, sans-serif; 
    21222115        margin: 0 0 8px;