diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2018-06-08 10:05:32 -0400 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2018-06-08 10:05:32 -0400 |
commit | 302b760bd00e82d9f5a8cef4ba821c1759a6601b (patch) | |
tree | b128712347390937b10066e55745bdac5dfb638c /themes/twentyfourteen/content-link.php | |
parent | Update jetpack 6.0 (diff) | |
download | blogs-gentoo-302b760bd00e82d9f5a8cef4ba821c1759a6601b.tar.gz blogs-gentoo-302b760bd00e82d9f5a8cef4ba821c1759a6601b.tar.bz2 blogs-gentoo-302b760bd00e82d9f5a8cef4ba821c1759a6601b.zip |
Update twentyfourteen 2.2
Diffstat (limited to 'themes/twentyfourteen/content-link.php')
-rw-r--r-- | themes/twentyfourteen/content-link.php | 30 |
1 files changed, 17 insertions, 13 deletions
diff --git a/themes/twentyfourteen/content-link.php b/themes/twentyfourteen/content-link.php index 858301ef..5c979863 100644 --- a/themes/twentyfourteen/content-link.php +++ b/themes/twentyfourteen/content-link.php @@ -19,8 +19,8 @@ <?php endif; - if ( is_single() ) : - the_title( '<h1 class="entry-title">', '</h1>' ); +if ( is_single() ) : + the_title( '<h1 class="entry-title">', '</h1>' ); else : the_title( '<h1 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h1>' ); endif; @@ -44,17 +44,21 @@ <div class="entry-content"> <?php /* translators: %s: Name of current post */ - the_content( sprintf( - __( 'Continue reading %s <span class="meta-nav">→</span>', 'twentyfourteen' ), - the_title( '<span class="screen-reader-text">', '</span>', false ) - ) ); - - wp_link_pages( array( - 'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentyfourteen' ) . '</span>', - 'after' => '</div>', - 'link_before' => '<span>', - 'link_after' => '</span>', - ) ); + the_content( + sprintf( + __( 'Continue reading %s <span class="meta-nav">→</span>', 'twentyfourteen' ), + the_title( '<span class="screen-reader-text">', '</span>', false ) + ) + ); + + wp_link_pages( + array( + 'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentyfourteen' ) . '</span>', + 'after' => '</div>', + 'link_before' => '<span>', + 'link_after' => '</span>', + ) + ); ?> </div><!-- .entry-content --> |