Code Duplication    Length = 19-19 lines in 2 locations

archive.php 1 location

@@ 20-38 (lines=19) @@
17
18
		<?php lsx_content_top(); ?>
19
20
		<?php if ( have_posts() ) : ?>
21
22
			<div class="post-wrapper">
23
24
				<?php
25
				while ( have_posts() ) :
26
					the_post();
27
					?>
28
29
					<?php get_template_part( 'partials/content', get_post_format() ); ?>
30
31
				<?php endwhile; ?>
32
33
			</div>
34
35
			<?php lsx_paging_nav(); ?>
36
37
		<?php else : ?>
38
39
			<?php get_template_part( 'partials/content', 'none' ); ?>
40
41
		<?php endif; ?>

index.php 1 location

@@ 20-38 (lines=19) @@
17
18
		<?php lsx_content_top(); ?>
19
20
		<?php if ( have_posts() ) : ?>
21
22
			<div class="post-wrapper">
23
24
				<?php
25
				while ( have_posts() ) :
26
					the_post();
27
				?>
28
29
					<?php get_template_part( 'partials/content', get_post_format() ); ?>
30
31
				<?php endwhile; ?>
32
33
			</div>
34
35
			<?php lsx_paging_nav(); ?>
36
37
		<?php else : ?>
38
39
			<?php get_template_part( 'partials/content', 'none' ); ?>
40
41
		<?php endif; ?>