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 -->
<footer class="entry-meta">
<?php twentythirteen_entry_date(); ?>
<?php twentythirteen_entry_meta(); ?>
<?php if ( comments_open() ) : ?>
<span class="comments-link">

View File

@ -15,11 +15,7 @@
</div><!-- .entry-content -->
<footer class="entry-meta">
<?php if ( is_single() ) : ?>
<?php twentythirteen_entry_meta(); ?>
<?php else : ?>
<?php twentythirteen_entry_date(); ?>
<?php endif; ?>
<?php twentythirteen_entry_meta(); ?>
<?php edit_post_link( __( 'Edit', 'twentythirteen' ), '<span class="edit-link">', '</span>' ); ?>
<?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
*/
function twentythirteen_entry_meta() {
if ( is_sticky() && is_home() && ! is_paged() )
echo '<span class="featured-post">' . __( 'Sticky', 'twentythirteen' ) . '</span>';

View File

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