@@ -1,7 +1,7 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @package stash |
|
4 | - */ |
|
3 | + * @package stash |
|
4 | + */ |
|
5 | 5 | ?> |
6 | 6 | |
7 | 7 | <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> |
@@ -17,19 +17,19 @@ discard block |
||
17 | 17 | |
18 | 18 | <div class="entry-content"> |
19 | 19 | <?php |
20 | - /* translators: %s: Name of current post */ |
|
21 | - the_content( sprintf( |
|
22 | - __( 'Continue reading %s <span class="meta-nav">→</span>', 'stash' ), |
|
23 | - the_title( '<span class="screen-reader-text">"', '"</span>', false ) |
|
24 | - ) ); |
|
25 | - ?> |
|
20 | + /* translators: %s: Name of current post */ |
|
21 | + the_content( sprintf( |
|
22 | + __( 'Continue reading %s <span class="meta-nav">→</span>', 'stash' ), |
|
23 | + the_title( '<span class="screen-reader-text">"', '"</span>', false ) |
|
24 | + ) ); |
|
25 | + ?> |
|
26 | 26 | |
27 | 27 | <?php |
28 | - wp_link_pages( array( |
|
29 | - 'before' => '<div class="page-links">' . __( 'Pages:', 'stash' ), |
|
30 | - 'after' => '</div>', |
|
31 | - ) ); |
|
32 | - ?> |
|
28 | + wp_link_pages( array( |
|
29 | + 'before' => '<div class="page-links">' . __( 'Pages:', 'stash' ), |
|
30 | + 'after' => '</div>', |
|
31 | + ) ); |
|
32 | + ?> |
|
33 | 33 | </div><!-- .entry-content --> |
34 | 34 | |
35 | 35 | <footer class="entry-footer"> |
@@ -5,7 +5,7 @@ |
||
5 | 5 | */ |
6 | 6 | $timberContext = $GLOBALS['timberContext']; |
7 | 7 | if ( ! isset( $timberContext ) ) { |
8 | - throw new \Exception( 'Timber context not set in footer.' ); |
|
8 | + throw new \Exception( 'Timber context not set in footer.' ); |
|
9 | 9 | } |
10 | 10 | $timberContext['content'] = ob_get_contents(); |
11 | 11 | ob_end_clean(); |
@@ -16,7 +16,7 @@ |
||
16 | 16 | $context['comment_form'] = TimberHelper::get_comment_form(); |
17 | 17 | |
18 | 18 | if ( post_password_required( $post->ID ) ) { |
19 | - Timber::render( 'single-password.twig', $context ); |
|
19 | + Timber::render( 'single-password.twig', $context ); |
|
20 | 20 | } else { |
21 | - Timber::render( array( 'single-' . $post->ID . '.twig', 'single-' . $post->post_type . '.twig', 'single.twig' ), $context ); |
|
21 | + Timber::render( array( 'single-' . $post->ID . '.twig', 'single-' . $post->post_type . '.twig', 'single.twig' ), $context ); |
|
22 | 22 | } |