diff options
Diffstat (limited to 'themes/twentyfifteen/content-link.php')
-rw-r--r-- | themes/twentyfifteen/content-link.php | 36 |
1 files changed, 16 insertions, 20 deletions
diff --git a/themes/twentyfifteen/content-link.php b/themes/twentyfifteen/content-link.php index 17aaf780..2beb1f78 100644 --- a/themes/twentyfifteen/content-link.php +++ b/themes/twentyfifteen/content-link.php @@ -15,8 +15,8 @@ <header class="entry-header"> <?php - if ( is_single() ) : - the_title( sprintf( '<h1 class="entry-title"><a href="%s">', esc_url( twentyfifteen_get_link_url() ) ), '</a></h1>' ); + if ( is_single() ) : + the_title( sprintf( '<h1 class="entry-title"><a href="%s">', esc_url( twentyfifteen_get_link_url() ) ), '</a></h1>' ); else : the_title( sprintf( '<h2 class="entry-title"><a href="%s">', esc_url( twentyfifteen_get_link_url() ) ), '</a></h2>' ); endif; @@ -27,31 +27,27 @@ <div class="entry-content"> <?php /* translators: %s: Name of current post */ - the_content( - sprintf( - __( 'Continue reading %s', 'twentyfifteen' ), - the_title( '<span class="screen-reader-text">', '</span>', false ) - ) - ); + the_content( sprintf( + __( '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">' . __( 'Pages:', 'twentyfifteen' ) . '</span>', - 'after' => '</div>', - 'link_before' => '<span>', - 'link_after' => '</span>', - 'pagelink' => '<span class="screen-reader-text">' . __( 'Page', 'twentyfifteen' ) . ' </span>%', - 'separator' => '<span class="screen-reader-text">, </span>', - ) - ); + wp_link_pages( array( + 'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentyfifteen' ) . '</span>', + 'after' => '</div>', + 'link_before' => '<span>', + 'link_after' => '</span>', + 'pagelink' => '<span class="screen-reader-text">' . __( 'Page', 'twentyfifteen' ) . ' </span>%', + 'separator' => '<span class="screen-reader-text">, </span>', + ) ); ?> </div> <!-- .entry-content --> <?php // Author bio. - if ( is_single() && get_the_author_meta( 'description' ) ) : - get_template_part( 'author-bio' ); + if ( is_single() && get_the_author_meta( 'description' ) ) : + get_template_part( 'author-bio' ); endif; ?> |