mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-22 15:31:42 +01:00
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: http://core.svn.wordpress.org/trunk@23469 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
65991cb964
commit
1b73111794
@ -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">
|
||||
|
@ -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() ) : ?>
|
||||
|
@ -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>';
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user