Make WordPress Core

Changeset 26036


Ignore:
Timestamp:
11/07/2013 07:04:56 PM (10 years ago)
Author:
lancewillett
Message:

Twenty Fourteen: clean up inconsistencies in content template files. Props iamtakashi, fixes #25868.

Location:
trunk/src/wp-content/themes/twentyfourteen
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfourteen/content-aside.php

    r25969 r26036  
    1717            <span class="cat-links"><?php echo get_the_category_list( _x( ', ', 'Used between list items, there is a space after the comma.', 'twentyfourteen' ) ); ?></span>
    1818        </div><!-- .entry-meta -->
    19         <?php endif; ?>
     19        <?php
     20            endif;
    2021
    21         <?php
    2222            if ( is_single() ) :
    2323                the_title( '<h1 class="entry-title">', '</h1>' );
     
    5454    </div><!-- .entry-content -->
    5555
     56    <?php if ( has_tag() ) : ?>
    5657    <footer class="entry-meta">
    57         <?php if ( has_tag() ) : ?>
    58         <span class="tag-links"><?php echo get_the_tag_list(); ?></span>
    59         <?php endif; ?>
     58        <span class="tag-links">
     59            <?php echo get_the_tag_list(); ?>
     60        </span>
    6061    </footer><!-- .entry-meta -->
     62    <?php endif; ?>
    6163</article><!-- #post-## -->
  • trunk/src/wp-content/themes/twentyfourteen/content-audio.php

    r26020 r26036  
    4444    <div class="entry-content">
    4545        <?php
    46             the_content();
     46            the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyfourteen' ) );
    4747            wp_link_pages( array(
    4848                'before'      => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentyfourteen' ) . '</span>',
  • trunk/src/wp-content/themes/twentyfourteen/content-gallery.php

    r25970 r26036  
    3434            <?php twentyfourteen_posted_on(); ?>
    3535
    36             <?php if ( ! post_password_required() && ( comments_open() || '0' != get_comments_number() ) ) : ?>
     36            <?php if ( ! post_password_required() && ( comments_open() || get_comments_number() ) ) : ?>
    3737            <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyfourteen' ), __( '1 Comment', 'twentyfourteen' ), __( '% Comments', 'twentyfourteen' ) ); ?></span>
    3838            <?php endif; ?>
     
    5656    <?php if ( has_tag() ) : ?>
    5757    <footer class="entry-meta">
    58         <span class="tag-links"><?php echo get_the_tag_list(); ?></span>
     58        <span class="tag-links">
     59            <?php echo get_the_tag_list(); ?>
     60        </span>
    5961    </footer><!-- .entry-meta -->
    6062    <?php endif; ?>
  • trunk/src/wp-content/themes/twentyfourteen/content-image.php

    r25802 r26036  
    4444    <div class="entry-content">
    4545        <?php
    46             the_content();
     46            the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyfourteen' ) );
    4747            wp_link_pages( array(
    4848                'before'      => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentyfourteen' ) . '</span>',
  • trunk/src/wp-content/themes/twentyfourteen/content-link.php

    r25969 r26036  
    1717            <span class="cat-links"><?php echo get_the_category_list( _x( ', ', 'Used between list items, there is a space after the comma.', 'twentyfourteen' ) ); ?></span>
    1818        </div><!-- .entry-meta -->
    19         <?php endif; ?>
     19        <?php
     20            endif;
    2021
    21         <?php
    2222            if ( is_single() ) :
    2323                the_title( '<h1 class="entry-title">', '</h1>' );
     
    4444    <div class="entry-content">
    4545        <?php
    46             the_content();
     46            the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyfourteen' ) );
    4747            wp_link_pages( array(
    4848                'before'      => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentyfourteen' ) . '</span>',
  • trunk/src/wp-content/themes/twentyfourteen/content-quote.php

    r25969 r26036  
    1717            <span class="cat-links"><?php echo get_the_category_list( _x( ', ', 'Used between list items, there is a space after the comma.', 'twentyfourteen' ) ); ?></span>
    1818        </div><!-- .entry-meta -->
    19         <?php endif; ?>
     19        <?php
     20            endif;
    2021
    21         <?php
    2222            if ( is_single() ) :
    2323                the_title( '<h1 class="entry-title">', '</h1>' );
     
    5454    </div><!-- .entry-content -->
    5555
     56    <?php if ( has_tag() ) : ?>
    5657    <footer class="entry-meta">
    57         <?php if ( has_tag() ) : ?>
    58         <span class="tag-links"><?php echo get_the_tag_list(); ?></span>
    59         <?php endif; ?>
     58        <span class="tag-links">
     59            <?php echo get_the_tag_list(); ?>
     60        </span>
    6061    </footer><!-- .entry-meta -->
     62    <?php endif; ?>
    6163</article><!-- #post-## -->
  • trunk/src/wp-content/themes/twentyfourteen/content-video.php

    r25802 r26036  
    4444    <div class="entry-content">
    4545        <?php
    46             the_content();
     46            the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyfourteen' ) );
    4747            wp_link_pages( array(
    4848                'before'      => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentyfourteen' ) . '</span>',
  • trunk/src/wp-content/themes/twentyfourteen/content.php

    r25969 r26036  
    1919            <span class="cat-links"><?php echo get_the_category_list( _x( ', ', 'Used between list items, there is a space after the comma.', 'twentyfourteen' ) ); ?></span>
    2020        </div>
    21         <?php endif; ?>
     21        <?php
     22            endif;
    2223
    23         <?php
    2424            if ( is_single() ) :
    2525                the_title( '<h1 class="entry-title">', '</h1>' );
     
    6565    <?php if ( has_tag() ) : ?>
    6666    <footer class="entry-meta">
    67         <span class="tag-links"><?php echo get_the_tag_list(); ?></span>
     67        <span class="tag-links">
     68            <?php echo get_the_tag_list(); ?>
     69        </span>
    6870    </footer><!-- .entry-meta -->
    6971    <?php endif; ?>
Note: See TracChangeset for help on using the changeset viewer.