Twenty Fourteen: clean up inconsistencies in content template files. Props iamtakashi, fixes #25868.
git-svn-id: https://develop.svn.wordpress.org/trunk@26036 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1a396b5d8a
commit
976df5f9ed
@ -16,9 +16,9 @@
|
|||||||
<div class="entry-meta">
|
<div class="entry-meta">
|
||||||
<span class="cat-links"><?php echo get_the_category_list( _x( ', ', 'Used between list items, there is a space after the comma.', 'twentyfourteen' ) ); ?></span>
|
<span class="cat-links"><?php echo get_the_category_list( _x( ', ', 'Used between list items, there is a space after the comma.', 'twentyfourteen' ) ); ?></span>
|
||||||
</div><!-- .entry-meta -->
|
</div><!-- .entry-meta -->
|
||||||
<?php endif; ?>
|
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
endif;
|
||||||
|
|
||||||
if ( is_single() ) :
|
if ( is_single() ) :
|
||||||
the_title( '<h1 class="entry-title">', '</h1>' );
|
the_title( '<h1 class="entry-title">', '</h1>' );
|
||||||
else :
|
else :
|
||||||
@ -53,9 +53,11 @@
|
|||||||
?>
|
?>
|
||||||
</div><!-- .entry-content -->
|
</div><!-- .entry-content -->
|
||||||
|
|
||||||
|
<?php if ( has_tag() ) : ?>
|
||||||
<footer class="entry-meta">
|
<footer class="entry-meta">
|
||||||
<?php if ( has_tag() ) : ?>
|
<span class="tag-links">
|
||||||
<span class="tag-links"><?php echo get_the_tag_list(); ?></span>
|
<?php echo get_the_tag_list(); ?>
|
||||||
<?php endif; ?>
|
</span>
|
||||||
</footer><!-- .entry-meta -->
|
</footer><!-- .entry-meta -->
|
||||||
|
<?php endif; ?>
|
||||||
</article><!-- #post-## -->
|
</article><!-- #post-## -->
|
||||||
|
@ -43,7 +43,7 @@
|
|||||||
|
|
||||||
<div class="entry-content">
|
<div class="entry-content">
|
||||||
<?php
|
<?php
|
||||||
the_content();
|
the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentyfourteen' ) );
|
||||||
wp_link_pages( array(
|
wp_link_pages( array(
|
||||||
'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentyfourteen' ) . '</span>',
|
'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentyfourteen' ) . '</span>',
|
||||||
'after' => '</div>',
|
'after' => '</div>',
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
<?php twentyfourteen_posted_on(); ?>
|
<?php twentyfourteen_posted_on(); ?>
|
||||||
|
|
||||||
<?php if ( ! post_password_required() && ( comments_open() || '0' != get_comments_number() ) ) : ?>
|
<?php if ( ! post_password_required() && ( comments_open() || get_comments_number() ) ) : ?>
|
||||||
<span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyfourteen' ), __( '1 Comment', 'twentyfourteen' ), __( '% Comments', 'twentyfourteen' ) ); ?></span>
|
<span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyfourteen' ), __( '1 Comment', 'twentyfourteen' ), __( '% Comments', 'twentyfourteen' ) ); ?></span>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
@ -55,7 +55,9 @@
|
|||||||
|
|
||||||
<?php if ( has_tag() ) : ?>
|
<?php if ( has_tag() ) : ?>
|
||||||
<footer class="entry-meta">
|
<footer class="entry-meta">
|
||||||
<span class="tag-links"><?php echo get_the_tag_list(); ?></span>
|
<span class="tag-links">
|
||||||
|
<?php echo get_the_tag_list(); ?>
|
||||||
|
</span>
|
||||||
</footer><!-- .entry-meta -->
|
</footer><!-- .entry-meta -->
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</article><!-- #post-## -->
|
</article><!-- #post-## -->
|
||||||
|
@ -43,7 +43,7 @@
|
|||||||
|
|
||||||
<div class="entry-content">
|
<div class="entry-content">
|
||||||
<?php
|
<?php
|
||||||
the_content();
|
the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentyfourteen' ) );
|
||||||
wp_link_pages( array(
|
wp_link_pages( array(
|
||||||
'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentyfourteen' ) . '</span>',
|
'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentyfourteen' ) . '</span>',
|
||||||
'after' => '</div>',
|
'after' => '</div>',
|
||||||
|
@ -16,9 +16,9 @@
|
|||||||
<div class="entry-meta">
|
<div class="entry-meta">
|
||||||
<span class="cat-links"><?php echo get_the_category_list( _x( ', ', 'Used between list items, there is a space after the comma.', 'twentyfourteen' ) ); ?></span>
|
<span class="cat-links"><?php echo get_the_category_list( _x( ', ', 'Used between list items, there is a space after the comma.', 'twentyfourteen' ) ); ?></span>
|
||||||
</div><!-- .entry-meta -->
|
</div><!-- .entry-meta -->
|
||||||
<?php endif; ?>
|
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
endif;
|
||||||
|
|
||||||
if ( is_single() ) :
|
if ( is_single() ) :
|
||||||
the_title( '<h1 class="entry-title">', '</h1>' );
|
the_title( '<h1 class="entry-title">', '</h1>' );
|
||||||
else :
|
else :
|
||||||
@ -43,7 +43,7 @@
|
|||||||
|
|
||||||
<div class="entry-content">
|
<div class="entry-content">
|
||||||
<?php
|
<?php
|
||||||
the_content();
|
the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentyfourteen' ) );
|
||||||
wp_link_pages( array(
|
wp_link_pages( array(
|
||||||
'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentyfourteen' ) . '</span>',
|
'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentyfourteen' ) . '</span>',
|
||||||
'after' => '</div>',
|
'after' => '</div>',
|
||||||
|
@ -16,9 +16,9 @@
|
|||||||
<div class="entry-meta">
|
<div class="entry-meta">
|
||||||
<span class="cat-links"><?php echo get_the_category_list( _x( ', ', 'Used between list items, there is a space after the comma.', 'twentyfourteen' ) ); ?></span>
|
<span class="cat-links"><?php echo get_the_category_list( _x( ', ', 'Used between list items, there is a space after the comma.', 'twentyfourteen' ) ); ?></span>
|
||||||
</div><!-- .entry-meta -->
|
</div><!-- .entry-meta -->
|
||||||
<?php endif; ?>
|
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
endif;
|
||||||
|
|
||||||
if ( is_single() ) :
|
if ( is_single() ) :
|
||||||
the_title( '<h1 class="entry-title">', '</h1>' );
|
the_title( '<h1 class="entry-title">', '</h1>' );
|
||||||
else :
|
else :
|
||||||
@ -53,9 +53,11 @@
|
|||||||
?>
|
?>
|
||||||
</div><!-- .entry-content -->
|
</div><!-- .entry-content -->
|
||||||
|
|
||||||
|
<?php if ( has_tag() ) : ?>
|
||||||
<footer class="entry-meta">
|
<footer class="entry-meta">
|
||||||
<?php if ( has_tag() ) : ?>
|
<span class="tag-links">
|
||||||
<span class="tag-links"><?php echo get_the_tag_list(); ?></span>
|
<?php echo get_the_tag_list(); ?>
|
||||||
<?php endif; ?>
|
</span>
|
||||||
</footer><!-- .entry-meta -->
|
</footer><!-- .entry-meta -->
|
||||||
|
<?php endif; ?>
|
||||||
</article><!-- #post-## -->
|
</article><!-- #post-## -->
|
||||||
|
@ -43,7 +43,7 @@
|
|||||||
|
|
||||||
<div class="entry-content">
|
<div class="entry-content">
|
||||||
<?php
|
<?php
|
||||||
the_content();
|
the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentyfourteen' ) );
|
||||||
wp_link_pages( array(
|
wp_link_pages( array(
|
||||||
'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentyfourteen' ) . '</span>',
|
'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentyfourteen' ) . '</span>',
|
||||||
'after' => '</div>',
|
'after' => '</div>',
|
||||||
|
@ -18,9 +18,9 @@
|
|||||||
<div class="entry-meta">
|
<div class="entry-meta">
|
||||||
<span class="cat-links"><?php echo get_the_category_list( _x( ', ', 'Used between list items, there is a space after the comma.', 'twentyfourteen' ) ); ?></span>
|
<span class="cat-links"><?php echo get_the_category_list( _x( ', ', 'Used between list items, there is a space after the comma.', 'twentyfourteen' ) ); ?></span>
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
endif;
|
||||||
|
|
||||||
if ( is_single() ) :
|
if ( is_single() ) :
|
||||||
the_title( '<h1 class="entry-title">', '</h1>' );
|
the_title( '<h1 class="entry-title">', '</h1>' );
|
||||||
else :
|
else :
|
||||||
@ -64,7 +64,9 @@
|
|||||||
|
|
||||||
<?php if ( has_tag() ) : ?>
|
<?php if ( has_tag() ) : ?>
|
||||||
<footer class="entry-meta">
|
<footer class="entry-meta">
|
||||||
<span class="tag-links"><?php echo get_the_tag_list(); ?></span>
|
<span class="tag-links">
|
||||||
|
<?php echo get_the_tag_list(); ?>
|
||||||
|
</span>
|
||||||
</footer><!-- .entry-meta -->
|
</footer><!-- .entry-meta -->
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</article><!-- #post-## -->
|
</article><!-- #post-## -->
|
||||||
|
Loading…
Reference in New Issue
Block a user