Twenty Thirteen: update post formats for consistent post meta display, fixes #23553.

Fix a few typos for "tags-links" selectors and remove extraneous newlines.

git-svn-id: https://develop.svn.wordpress.org/trunk@23469 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Lance Willett 2013-02-22 06:05:00 +00:00
parent a3afd6e989
commit 8798dcefdd
4 changed files with 22 additions and 11 deletions

View File

@ -25,7 +25,7 @@
</div><!-- .entry-content --> </div><!-- .entry-content -->
<footer class="entry-meta"> <footer class="entry-meta">
<?php twentythirteen_entry_date(); ?> <?php twentythirteen_entry_meta(); ?>
<?php if ( comments_open() ) : ?> <?php if ( comments_open() ) : ?>
<span class="comments-link"> <span class="comments-link">

View File

@ -15,11 +15,7 @@
</div><!-- .entry-content --> </div><!-- .entry-content -->
<footer class="entry-meta"> <footer class="entry-meta">
<?php if ( is_single() ) : ?>
<?php twentythirteen_entry_meta(); ?> <?php twentythirteen_entry_meta(); ?>
<?php else : ?>
<?php twentythirteen_entry_date(); ?>
<?php endif; ?>
<?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 if ( is_single() && get_the_author_meta( 'description' ) && is_multi_author() ) : ?>

View File

@ -389,7 +389,6 @@ if ( ! function_exists( 'twentythirteen_entry_meta' ) ) :
* @return void * @return void
*/ */
function twentythirteen_entry_meta() { function twentythirteen_entry_meta() {
if ( is_sticky() && is_home() && ! is_paged() ) if ( is_sticky() && is_home() && ! is_paged() )
echo '<span class="featured-post">' . __( 'Sticky', 'twentythirteen' ) . '</span>'; echo '<span class="featured-post">' . __( 'Sticky', 'twentythirteen' ) . '</span>';

View File

@ -1085,7 +1085,7 @@ ul.nav-menu li:hover > ul,
line-height: 1.5; line-height: 1.5;
} }
.entry-meta span.tag-links { .entry-meta span.tags-links {
color: #f94a0a; color: #f94a0a;
} }
@ -1447,7 +1447,7 @@ footer.entry-meta {
.format-chat .entry-meta a, .format-chat .entry-meta a,
.format-chat .entry-content a, .format-chat .entry-content a,
.format-chat span.tag-links { .format-chat span.tags-links {
color: #722d19; color: #722d19;
} }
@ -1456,6 +1456,10 @@ footer.entry-meta {
margin-right: 2px; margin-right: 2px;
} }
.format-chat .entry-meta .author {
display: none;
}
/* Gallery */ /* Gallery */
.format-gallery { .format-gallery {
background-color: #fccb27; background-color: #fccb27;
@ -1473,7 +1477,7 @@ footer.entry-meta {
.format-gallery .entry-meta a, .format-gallery .entry-meta a,
.format-gallery .entry-content a, .format-gallery .entry-content a,
.format-gallery span.tag-links { .format-gallery span.tags-links {
color: #a22400; color: #a22400;
} }
@ -1577,6 +1581,10 @@ footer.entry-meta {
margin: 0; margin: 0;
} }
.format-image .categories-links,
.format-image .tags-links {
display: none;
}
/* Link */ /* Link */
.format-link { .format-link {
@ -1641,6 +1649,10 @@ footer.entry-meta {
margin-top: 0; margin-top: 0;
} }
.format-quote .entry-meta .author {
display: none;
}
/* Status */ /* Status */
.format-status { .format-status {
background-color: #722d19; background-color: #722d19;
@ -1688,6 +1700,11 @@ footer.entry-meta {
left: 70px; left: 70px;
} }
.format-status .categories-links,
.format-status .tags-links {
display: none;
}
/* Ensures the dots in the dot background are in lockstep. */ /* Ensures the dots in the dot background are in lockstep. */
.format-status .entry-meta:before { .format-status .entry-meta:before {
background-position: left top; background-position: left top;
@ -1749,7 +1766,6 @@ footer.entry-meta {
color: #ea9629; color: #ea9629;
} }
.format-video .entry-title { .format-video .entry-title {
font-size: 50px; font-size: 50px;
font-weight: 400; font-weight: 400;