mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-23 00:31:28 +01:00
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:
parent
43b2fe0f2f
commit
44b06991cb
@ -19,8 +19,13 @@
|
|||||||
<!-- .entry-header -->
|
<!-- .entry-header -->
|
||||||
|
|
||||||
<div class="entry-content">
|
<div class="entry-content">
|
||||||
<?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentyfifteen' ) ); ?>
|
|
||||||
<?php
|
<?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(
|
wp_link_pages( array(
|
||||||
'before' => '<div class="page-links"><span class="page-links-title">' . esc_html__( 'Pages:', 'twentyfifteen' ) . '</span>',
|
'before' => '<div class="page-links"><span class="page-links-title">' . esc_html__( 'Pages:', 'twentyfifteen' ) . '</span>',
|
||||||
'after' => '</div>',
|
'after' => '</div>',
|
||||||
|
Loading…
Reference in New Issue
Block a user