Completed
Push — master ( 1d9c94...5b5429 )
by SILENT
02:22
created

single.php (1 issue)

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 View Code Duplication
		<?php while ( have_posts() ) : the_post(); ?>
0 ignored issues
show
This code seems to be duplicated across your project.

Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.

You can also find more detailed suggestions in the “Code” section of your repository.

Loading history...
17
18
			<?php get_template_part( 'content', get_post_format() ); ?>
19
20
			<?php strip_content_nav( 'nav-below' ); ?>
21
22
			<?php
23
				// If comments are open or we have at least one comment, load up the comment template.
24
			if ( comments_open() || '0' !== get_comments_number() ) :
25
				comments_template();
26
			endif; ?>
27
28
		<?php endwhile; // end of the loop. ?>
29
30
		</main><!-- #content -->
31
	</section><!-- #primary -->
32
33
<?php get_footer(); ?>
34