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:
parent
efd52e2bd9
commit
082ad55827
@ -19,8 +19,13 @@
|
||||
<!-- .entry-header -->
|
||||
|
||||
<div class="entry-content">
|
||||
<?php the_content( __( 'Continue reading <span class="meta-nav">→</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>',
|
||||
|
Loading…
Reference in New Issue
Block a user