Twenty Thirteen: remove Author Bio from post formats that are essentially quotes from other people, like Quote and Chat. Props obenland and markjaquith -- see #24176.

git-svn-id: http://core.svn.wordpress.org/trunk@24167 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Lance Willett 2013-05-03 16:55:32 +00:00
parent be44073d5f
commit 018739b839
3 changed files with 1 additions and 10 deletions

View File

@ -27,9 +27,5 @@
<footer class="entry-meta"> <footer class="entry-meta">
<?php twentythirteen_entry_meta(); ?> <?php twentythirteen_entry_meta(); ?>
<?php edit_post_link( __( 'Edit', 'twentythirteen' ), '<span class="edit-link">', '</span>' ); ?> <?php edit_post_link( __( 'Edit', 'twentythirteen' ), '<span class="edit-link">', '</span>' ); ?>
<?php if ( is_single() && get_the_author_meta( 'description' ) && is_multi_author() ) : ?>
<?php get_template_part( 'author-bio' ); ?>
<?php endif; ?>
</footer><!-- .entry-meta --> </footer><!-- .entry-meta -->
</article><!-- #post --> </article><!-- #post -->

View File

@ -23,9 +23,5 @@
</span><!-- .comments-link --> </span><!-- .comments-link -->
<?php endif; // comments_open() ?> <?php endif; // comments_open() ?>
<?php edit_post_link( __( 'Edit', 'twentythirteen' ), '<span class="edit-link">', '</span>' ); ?> <?php edit_post_link( __( 'Edit', 'twentythirteen' ), '<span class="edit-link">', '</span>' ); ?>
<?php if ( is_single() && get_the_author_meta( 'description' ) && is_multi_author() ) : ?>
<?php get_template_part( 'author-bio' ); ?>
<?php endif; ?>
</footer><!-- .entry-meta --> </footer><!-- .entry-meta -->
</article><!-- #post --> </article><!-- #post -->

View File

@ -2109,8 +2109,7 @@ footer.entry-meta {
margin: 0 30px 30px 0; margin: 0 30px 30px 0;
} }
.single-format-status .author-description, .single-format-status .author-description {
.single-format-quote .author-description {
color: #f7f5e7; color: #f7f5e7;
} }