Completed
Push — master ( 1a766a...402478 )
by SILENT
02:52
created

single.php (1 issue)

Severity

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
/**
3
 * The Template for displaying all single posts
4
 *
5
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post
6
 *
7
 * @package WordPress
8
 * @subpackage Strip
9
 */
10
11
get_header(); ?>
12
13
		<section id="primary">
14
			<main id="content" role="main">
15
16
		<?php while ( have_posts() ) : the_post(); ?>
17
18
			<?php get_template_part( 'content', get_post_format() ); ?>
19
20
			<?php
21
				// If comments are open or we have at least one comment, load up the comment template.
22
			if ( comments_open() || '0' !== get_comments_number() ) :
23
				comments_template();
24
			endif;
25
26
			the_post_navigation( array(
27
				'prev_text' => '<span class="screen-reader-text">' . __( 'Previous Post', 'strip' ) . '</span><span aria-hidden="true" class="nav-subtitle">' . esc_html_x( '&larr;', 'Previous post link', 'strip' ) . '</span> %title</span>',
28
				'next_text' => '<span class="screen-reader-text">' . __( 'Next Post', 'strip' ) . '</span> %title <span aria-hidden="true" class="nav-subtitle">' . esc_html_x( '&rarr;', 'Next post link', 'strip' ) . '</span> </span>',
0 ignored issues
show
Expected a sanitizing function (see Codex for 'Data Validation'), but instead saw '__'
Loading history...
29
			) );
30
31
		endwhile; // end of the loop. ?>
32
33
		</main><!-- #content -->
34
	</section><!-- #primary -->
35
36
<br><br>
37
38
<?php get_footer(); ?>
39