Make WordPress Core

Ticket #26420: 26420.1.diff

File 26420.1.diff, 1.8 KB (added by iamtakashi, 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;
     1659        padding-top: 18px;
    16581660}
    16591661
    1660 .taxonomy-description p {
     1662.taxonomy-description p,
     1663.author-description p {
    16611664        margin-bottom: 18px;
    16621665}
    16631666
    1664 .taxonomy-description p:last-child {
     1667.taxonomy-description p:last-child,
     1668.author-description p:last-child {
    16651669        margin-bottom: 0;
    16661670}
    16671671
     1672.taxonomy-description a,
     1673.author-description a {
     1674        text-decoration: underline;
     1675}
    16681676
     1677.taxonomy-description a:hover,
     1678.author-description a:hover {
     1679        text-decoration: none;
     1680}
     1681
     1682
    16691683/**
    16701684 * 6.10 Contributor Page
    16711685 * -----------------------------------------------------------------------------