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-audio.php

    r24131 r24391  
    2020    </header><!-- .entry-header -->
    2121
    22     <div class="entry-media">
     22    <div class="entry-content">
    2323        <div class="audio-content">
    24             <?php the_post_format_audio(); ?>
     24            <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentythirteen' ) ); ?>
     25            <?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>' ) ); ?>
    2526        </div><!-- .audio-content -->
    26     </div><!-- .entry-media -->
    27 
    28     <div class="entry-content">
    29         <?php the_remaining_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentythirteen' ) ); ?>
    30         <?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>' ) ); ?>
    3127    </div><!-- .entry-content -->
    3228
Note: See TracChangeset for help on using the changeset viewer.