Code Duplication    Length = 9-9 lines in 2 locations

content-post.php 1 location

@@ 80-88 (lines=9) @@
77
78
		<?php
79
			// If comments are open or we have at least one comment, load up the comment template
80
			if ( comments_open() || '0' != get_comments_number() ) : ?>
81
				<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>
82
83
				<div class="collapse" id="comments-collapse">
84
					<?php 
85
						comments_template();
86
					?>
87
				</div>
88
		<?php endif; ?>
89
	</footer><!-- .footer-meta -->
90
	
91
	<?php edit_post_link( esc_html__( 'Edit', 'lsx' ), '<footer class="entry-meta"><span class="edit-link">', '</span></footer>' ); ?>

content-single.php 1 location

@@ 80-88 (lines=9) @@
77
78
		<?php
79
			// If comments are open or we have at least one comment, load up the comment template
80
			if ( comments_open() || '0' != get_comments_number() ) : ?>
81
				<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>
82
83
				<div class="collapse" id="comments-collapse">
84
					<?php 
85
						comments_template();
86
					?>
87
				</div>
88
		<?php endif; ?>
89
	</footer><!-- .footer-meta -->
90
	
91
	<?php edit_post_link( esc_html__( 'Edit', 'lsx' ), '<footer class="entry-meta"><span class="edit-link">', '</span></footer>' ); ?>