Twenty Fifteen: Include post title in Continue Reading link in Link post format.

props davidakennedy.
fixes #30070.
Built from https://develop.svn.wordpress.org/trunk@29991


git-svn-id: http://core.svn.wordpress.org/trunk@29733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2014-10-22 16:30:19 +00:00
parent 43b2fe0f2f
commit 44b06991cb

View File

@ -19,8 +19,13 @@
<!-- .entry-header -->
<div class="entry-content">
<?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyfifteen' ) ); ?>
<?php
/* translators: %s: Name of current post */
the_content( sprintf(
esc_html__( 'Continue reading %s', 'twentyfifteen' ),
the_title( '<span class="screen-reader-text">', '</span>', false )
) );
wp_link_pages( array(
'before' => '<div class="page-links"><span class="page-links-title">' . esc_html__( 'Pages:', 'twentyfifteen' ) . '</span>',
'after' => '</div>',