Make WordPress Core

Ticket #26420: 26420.diff

File 26420.diff, 1.5 KB (added by lancewillett, 11 years ago)
  • wp-content/themes/twentyfourteen/author.php

     
    2828                                                 */
    2929                                                the_post();
    3030
    31                                                 printf( __( 'All posts by %s', 'twentyfourteen' ), sprintf(
    32                                                                 '<span class="vcard"><a class="url fn n" href="%1$s" rel="me">%2$s</a></span>',
    33                                                                 esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
    34                                                                 get_the_author()
    35                                                 ) );
     31                                                printf( __( 'All posts by %s', 'twentyfourteen' ), get_the_author() );
    3632                                        ?>
    3733                                </h1>
     34                                <?php if ( get_the_author_meta( 'description' ) ) : ?>
     35                                <div class="author-description"><?php the_author_meta( 'description' ); ?></div>
     36                                <?php endif; ?>
    3837                        </header><!-- .archive-header -->
    3938
    4039                        <?php
  • wp-content/themes/twentyfourteen/style.css

     
    16511651        margin: 0;
    16521652}
    16531653
    1654 .taxonomy-description {
     1654.taxonomy-description,
     1655.author-description {
    16551656        color: #767676;
    16561657        font-size: 14px;
    16571658        line-height: 1.2857142857;
    16581659}
    16591660
    1660 .taxonomy-description p {
     1661.taxonomy-description p,
     1662.author-description p {
    16611663        margin-bottom: 18px;
    16621664}
    16631665
    1664 .taxonomy-description p:last-child {
     1666.taxonomy-description p:last-child,
     1667.author-description p:last-child {
    16651668        margin-bottom: 0;
    16661669}
    16671670