Changeset 23836
- Timestamp:
- 03/28/2013 05:59:18 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentythirteen/content-audio.php
r23828 r23836 27 27 28 28 <div class="entry-content"> 29 <?php the_ extra_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentythirteen' ) ); ?>29 <?php the_remaining_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentythirteen' ) ); ?> 30 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>' ) ); ?> 31 31 </div><!-- .entry-content --> -
trunk/wp-content/themes/twentythirteen/content-image.php
r23820 r23836 25 25 26 26 <div class="entry-content"> 27 <?php the_ extra_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentythirteen' ) ); ?>27 <?php the_remaining_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentythirteen' ) ); ?> 28 28 <?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>' ) ); ?> 29 29 </div><!-- .entry-content --> -
trunk/wp-content/themes/twentythirteen/content-video.php
r23820 r23836 25 25 26 26 <div class="entry-content"> 27 <?php the_ extra_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentythirteen' ) ); ?>27 <?php the_remaining_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentythirteen' ) ); ?> 28 28 <?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>' ) ); ?> 29 29 </div><!-- .entry-content --> -
trunk/wp-includes/post-formats.php
r23822 r23836 688 688 * @return string 689 689 */ 690 function get_the_ extra_content( $more_link_text = null, $strip_teaser = false ) {690 function get_the_remaining_content( $more_link_text = null, $strip_teaser = false ) { 691 691 global $more, $page, $format_pages, $multipage, $preview; 692 692 … … 753 753 * @param bool $strip_teaser Optional. Strip teaser content before the more text. Default is false. 754 754 */ 755 function the_ extra_content( $more_link_text = null, $strip_teaser = false ) {756 $extra = get_the_ extra_content( $more_link_text, $strip_teaser );755 function the_remaining_content( $more_link_text = null, $strip_teaser = false ) { 756 $extra = get_the_remaining_content( $more_link_text, $strip_teaser ); 757 757 758 758 remove_filter( 'the_content', 'post_formats_compat', 7 );
Note: See TracChangeset
for help on using the changeset viewer.