@@ -1,11 +1,11 @@ discard block |
||
| 1 | 1 | <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> |
| 2 | 2 | <header class="entry-header"> |
| 3 | - <?php get_template_part( 'template-parts/header/entry', 'header' ); ?> |
|
| 3 | + <?php get_template_part('template-parts/header/entry', 'header'); ?> |
|
| 4 | 4 | </header> |
| 5 | 5 | |
| 6 | 6 | <figure class="post-thumbnail"> |
| 7 | 7 | <div class="post-thumbnail-inner"> |
| 8 | - <?php the_post_thumbnail( 'post-thumbnail' ); ?> |
|
| 8 | + <?php the_post_thumbnail('post-thumbnail'); ?> |
|
| 9 | 9 | </div> |
| 10 | 10 | </figure> |
| 11 | 11 | |
@@ -15,21 +15,21 @@ discard block |
||
| 15 | 15 | |
| 16 | 16 | wp_link_pages( |
| 17 | 17 | array( |
| 18 | - 'before' => '<div class="page-links">' . __( 'Pages:', 'auto-load-next-post' ), |
|
| 18 | + 'before' => '<div class="page-links">'.__('Pages:', 'auto-load-next-post'), |
|
| 19 | 19 | 'after' => '</div>', |
| 20 | 20 | ) |
| 21 | 21 | ); |
| 22 | 22 | ?> |
| 23 | 23 | </div><!-- .entry-content --> |
| 24 | 24 | |
| 25 | - <?php if ( get_edit_post_link() ) : ?> |
|
| 25 | + <?php if (get_edit_post_link()) : ?> |
|
| 26 | 26 | <footer class="entry-footer"> |
| 27 | 27 | <?php |
| 28 | 28 | edit_post_link( |
| 29 | 29 | sprintf( |
| 30 | 30 | wp_kses( |
| 31 | 31 | /* translators: %s: Name of current post. Only visible to screen readers */ |
| 32 | - __( 'Edit <span class="screen-reader-text">%s</span>', 'auto-load-next-post' ), |
|
| 32 | + __('Edit <span class="screen-reader-text">%s</span>', 'auto-load-next-post'), |
|
| 33 | 33 | array( |
| 34 | 34 | 'span' => array( |
| 35 | 35 | 'class' => array(), |
@@ -1,11 +1,11 @@ discard block |
||
| 1 | 1 | <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> |
| 2 | 2 | <header class="entry-header"> |
| 3 | - <?php get_template_part( 'template-parts/header/entry', 'header' ); ?> |
|
| 3 | + <?php get_template_part('template-parts/header/entry', 'header'); ?> |
|
| 4 | 4 | </header> |
| 5 | 5 | |
| 6 | 6 | <figure class="post-thumbnail"> |
| 7 | 7 | <div class="post-thumbnail-inner"> |
| 8 | - <?php the_post_thumbnail( 'post-thumbnail' ); ?> |
|
| 8 | + <?php the_post_thumbnail('post-thumbnail'); ?> |
|
| 9 | 9 | </div> |
| 10 | 10 | </figure> |
| 11 | 11 | |
@@ -15,7 +15,7 @@ discard block |
||
| 15 | 15 | |
| 16 | 16 | wp_link_pages( |
| 17 | 17 | array( |
| 18 | - 'before' => '<div class="page-links">' . __( 'Pages:', 'auto-load-next-post' ), |
|
| 18 | + 'before' => '<div class="page-links">'.__('Pages:', 'auto-load-next-post'), |
|
| 19 | 19 | 'after' => '</div>', |
| 20 | 20 | ) |
| 21 | 21 | ); |
@@ -26,8 +26,8 @@ discard block |
||
| 26 | 26 | <?php twentynineteen_entry_footer(); ?> |
| 27 | 27 | </footer><!-- .entry-footer --> |
| 28 | 28 | |
| 29 | - <?php if ( ! is_singular( 'attachment' ) ) : ?> |
|
| 30 | - <?php get_template_part( 'template-parts/post/author', 'bio' ); ?> |
|
| 29 | + <?php if ( ! is_singular('attachment')) : ?> |
|
| 30 | + <?php get_template_part('template-parts/post/author', 'bio'); ?> |
|
| 31 | 31 | <?php endif; ?> |
| 32 | 32 | |
| 33 | 33 | </article><!-- #post-${ID} --> |
| 34 | 34 | \ No newline at end of file |