Code Duplication    Length = 21-21 lines in 2 locations

content-post.php 1 location

@@ 57-77 (lines=21) @@
54
	</div><!-- .entry-content -->
55
56
	<footer class="footer-meta">
57
		<?php if ( has_tag() || ( function_exists( 'sharing_display' ) || class_exists( 'Jetpack_Likes' ) ) ) : ?>
58
			<div class="post-tags-wrapper">
59
				<?php if ( has_tag() ) : ?>
60
					<div class="post-tags">
61
						<span><?php esc_html_e('Tagged as:','lsx'); ?></span> <?php echo wp_kses_post( get_the_tag_list('') ); ?>
62
					</div>
63
				<?php endif ?>
64
65
				<?php  
66
					if ( function_exists( 'sharing_display' ) ) {
67
						sharing_display( '', true );
68
					}
69
					
70
					if ( class_exists( 'Jetpack_Likes' ) ) {
71
						$custom_likes = new Jetpack_Likes;
72
						echo wp_kses_post( $custom_likes->post_likes( '' ) );
73
					}
74
				?>
75
			</div>
76
		<?php endif ?>
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() ) : ?>

content-single.php 1 location

@@ 57-77 (lines=21) @@
54
	</div><!-- .entry-content -->
55
56
	<footer class="footer-meta">
57
		<?php if ( has_tag() || ( function_exists( 'sharing_display' ) || class_exists( 'Jetpack_Likes' ) ) ) : ?>
58
			<div class="post-tags-wrapper">
59
				<?php if ( has_tag() ) : ?>
60
					<div class="post-tags">
61
						<span><?php esc_html_e('Tagged as:','lsx'); ?></span> <?php echo wp_kses_post( get_the_tag_list('') ); ?>
62
					</div>
63
				<?php endif ?>
64
65
				<?php  
66
					if ( function_exists( 'sharing_display' ) ) {
67
						sharing_display( '', true );
68
					}
69
					
70
					if ( class_exists( 'Jetpack_Likes' ) ) {
71
						$custom_likes = new Jetpack_Likes;
72
						echo wp_kses_post( $custom_likes->post_likes( '' ) );
73
					}
74
				?>
75
			</div>
76
		<?php endif ?>
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() ) : ?>