forked from mirror/_s
Merge pull request #516 from chrisdc/continue_reading_link
Add post title to the continue reading link for context.
This commit is contained in:
commit
f136ddd333
|
@ -16,7 +16,14 @@
|
||||||
</header><!-- .entry-header -->
|
</header><!-- .entry-header -->
|
||||||
|
|
||||||
<div class="entry-content">
|
<div class="entry-content">
|
||||||
<?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', '_s' ) ); ?>
|
<?php
|
||||||
|
/* translators: %s: Name of current post */
|
||||||
|
the_content( sprintf(
|
||||||
|
__( 'Continue reading %s <span class="meta-nav">→</span>', '_s' ),
|
||||||
|
the_title( '<span class="screen-reader-text">"', '"</span>', false )
|
||||||
|
) );
|
||||||
|
?>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
wp_link_pages( array(
|
wp_link_pages( array(
|
||||||
'before' => '<div class="page-links">' . __( 'Pages:', '_s' ),
|
'before' => '<div class="page-links">' . __( 'Pages:', '_s' ),
|
||||||
|
|
Reference in New Issue