forked from mirror/_s
Add hidden post title to the continue reading link
This commit is contained in:
parent
eb58df8d30
commit
23b5c08098
11
content.php
11
content.php
|
@ -16,7 +16,14 @@
|
|||
</header><!-- .entry-header -->
|
||||
|
||||
<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
|
||||
wp_link_pages( array(
|
||||
'before' => '<div class="page-links">' . __( 'Pages:', '_s' ),
|
||||
|
@ -54,4 +61,4 @@
|
|||
|
||||
<?php edit_post_link( __( 'Edit', '_s' ), '<span class="edit-link">', '</span>' ); ?>
|
||||
</footer><!-- .entry-footer -->
|
||||
</article><!-- #post-## -->
|
||||
</article><!-- #post-## -->
|
||||
|
|
Reference in New Issue