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() || class_exists( 'LSX_Sharing' ) || ( function_exists( 'sharing_display' ) || class_exists( 'Jetpack_Likes' ) ) ) : ?>
58
            <div class="post-tags-wrapper">
59
				<?php lsx_content_post_tags(); ?>
60
61
				<?php
62
					if ( class_exists( 'LSX_Sharing' ) ) {
63
						lsx_content_sharing();
64
					} else {
65
						if ( function_exists( 'sharing_display' ) ) {
66
							sharing_display( '', true );
67
						}
68
69
						if ( class_exists( 'Jetpack_Likes' ) ) {
70
							$custom_likes = new Jetpack_Likes;
71
							echo wp_kses_post( $custom_likes->post_likes( '' ) );
72
						}
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() || class_exists( 'LSX_Sharing' ) || ( function_exists( 'sharing_display' ) || class_exists( 'Jetpack_Likes' ) ) ) : ?>
58
			<div class="post-tags-wrapper">
59
				<?php lsx_content_post_tags(); ?>
60
61
				<?php
62
					if ( class_exists( 'LSX_Sharing' ) ) {
63
						lsx_content_sharing();
64
					} else {
65
						if ( function_exists( 'sharing_display' ) ) {
66
							sharing_display( '', true );
67
						}
68
69
						if ( class_exists( 'Jetpack_Likes' ) ) {
70
							$custom_likes = new Jetpack_Likes;
71
							echo wp_kses_post( $custom_likes->post_likes( '' ) );
72
						}
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() ) : ?>