Code Duplication    Length = 13-13 lines in 2 locations

page.php 1 location

@@ 20-32 (lines=13) @@
17
	<div id="primary" class="content-area">
18
		<div id="content" class="site-content" role="main">
19
20
			<?php while ( have_posts() ) :
21
				the_post(); ?>
22
23
				<?php get_template_part( 'content', 'page' ); ?>
24
25
				<?php
26
					// If comments are open or we have at least one comment, load up the comment template.
27
				if ( comments_open() || '0' !== get_comments_number() ) {
28
					comments_template();
29
				}
30
				?>
31
32
			<?php endwhile; // end of the loop. ?>
33
34
		</div><!-- #content -->
35
	</div><!-- #primary -->

single.php 1 location

@@ 16-28 (lines=13) @@
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 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 -->