Code Duplication    Length = 9-9 lines in 2 locations

content-post.php 1 location

@@ 76-84 (lines=9) @@
73
74
		<?php
75
			// If comments are open or we have at least one comment, load up the comment template
76
			if ( comments_open() || '0' != get_comments_number() ) : ?>
77
				<a class="comments-link post-meta-link" data-toggle="collapse" href="#comments-collapse"><strong><?php echo esc_html( get_comments_number() ) ?></strong> <?php esc_html_e('Comments','lsx'); ?> <span class="fa fa-chevron-down"></span></a>
78
79
				<div class="collapse" id="comments-collapse">
80
					<?php 
81
						comments_template();
82
					?>
83
				</div>
84
		<?php endif; ?>
85
	</footer><!-- .footer-meta -->
86
	
87
	<?php edit_post_link( esc_html__( 'Edit', 'lsx' ), '<footer class="entry-meta"><span class="edit-link">', '</span></footer>' ); ?>

content-single.php 1 location

@@ 76-84 (lines=9) @@
73
74
		<?php
75
			// If comments are open or we have at least one comment, load up the comment template
76
			if ( comments_open() || '0' != get_comments_number() ) : ?>
77
				<a class="comments-link post-meta-link" data-toggle="collapse" href="#comments-collapse"><strong><?php echo esc_html( get_comments_number() ) ?></strong> <?php esc_html_e('Comments','lsx'); ?> <span class="fa fa-chevron-down"></span></a>
78
79
				<div class="collapse" id="comments-collapse">
80
					<?php 
81
						comments_template();
82
					?>
83
				</div>
84
		<?php endif; ?>
85
	</footer><!-- .footer-meta -->
86
	
87
	<?php edit_post_link( esc_html__( 'Edit', 'lsx' ), '<footer class="entry-meta"><span class="edit-link">', '</span></footer>' ); ?>