Ticket #26420: 26420.1.diff
File 26420.1.diff, 1.8 KB (added by , 11 years ago) |
---|
-
wp-content/themes/twentyfourteen/author.php
28 28 */ 29 29 the_post(); 30 30 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() ); 36 32 ?> 37 33 </h1> 34 <?php if ( get_the_author_meta( 'description' ) ) : ?> 35 <div class="author-description"><?php the_author_meta( 'description' ); ?></div> 36 <?php endif; ?> 38 37 </header><!-- .archive-header --> 39 38 40 39 <?php -
wp-content/themes/twentyfourteen/style.css
1651 1651 margin: 0; 1652 1652 } 1653 1653 1654 .taxonomy-description { 1654 .taxonomy-description, 1655 .author-description { 1655 1656 color: #767676; 1656 1657 font-size: 14px; 1657 1658 line-height: 1.2857142857; 1659 padding-top: 18px; 1658 1660 } 1659 1661 1660 .taxonomy-description p { 1662 .taxonomy-description p, 1663 .author-description p { 1661 1664 margin-bottom: 18px; 1662 1665 } 1663 1666 1664 .taxonomy-description p:last-child { 1667 .taxonomy-description p:last-child, 1668 .author-description p:last-child { 1665 1669 margin-bottom: 0; 1666 1670 } 1667 1671 1672 .taxonomy-description a, 1673 .author-description a { 1674 text-decoration: underline; 1675 } 1668 1676 1677 .taxonomy-description a:hover, 1678 .author-description a:hover { 1679 text-decoration: none; 1680 } 1681 1682 1669 1683 /** 1670 1684 * 6.10 Contributor Page 1671 1685 * -----------------------------------------------------------------------------