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

props davidakennedy.
fixes #30070.

git-svn-id: https://develop.svn.wordpress.org/trunk@29991 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2014-10-22 16:29:49 +00:00
parent efd52e2bd9
commit 082ad55827
1 changed files with 6 additions and 1 deletions

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>',