WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/31/2013 05:45:00 PM (8 years ago)
Author:
lancewillett
Message:

Twenty Thirteen: remove all post_format_*() and the_remaining_content() function calls, reverting to the_content(). Simplify functions.php, JS, and CSS files accordingly. Props obenland for starter patch, fixes #24469 and #24407. See #24452.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentythirteen/content-video.php

    r24131 r24391  
    1010
    1111<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    12     <div class="entry-media">
    13         <?php the_post_format_video(); ?>
    14     </div><!-- .entry-media -->
    15 
    1612    <header class="entry-header">
    1713        <?php if ( is_single() ) : ?>
     
    2521
    2622    <div class="entry-content">
    27         <?php the_remaining_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentythirteen' ) ); ?>
     23        <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentythirteen' ) ); ?>
    2824        <?php wp_link_pages( array( 'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentythirteen' ) . '</span>', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>' ) ); ?>
    2925    </div><!-- .entry-content -->
Note: See TracChangeset for help on using the changeset viewer.